Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (19 sloc) 0.507 kb
d88d7aa2 » codeworkx
2011-05-21 galaxysmtd: fixed getting proprietary files into the buildsystem
1 #!/bin/sh
2
055b3210 » pawitp
2012-08-16 my changes to cm
3 VENDOR=samsung
d88d7aa2 » codeworkx
2011-05-21 galaxysmtd: fixed getting proprietary files into the buildsystem
4 DEVICE=galaxysmtd
5 COMMON=aries-common
6
055b3210 » pawitp
2012-08-16 my changes to cm
7 BASE=../../../vendor/$VENDOR/$DEVICE/proprietary
d88d7aa2 » codeworkx
2011-05-21 galaxysmtd: fixed getting proprietary files into the buildsystem
8
055b3210 » pawitp
2012-08-16 my changes to cm
9 # Get common files
10 (cd ../$COMMON && ./extract-files.sh)
d88d7aa2 » codeworkx
2011-05-21 galaxysmtd: fixed getting proprietary files into the buildsystem
11
055b3210 » pawitp
2012-08-16 my changes to cm
12 echo "Pulling device files..."
13 for FILE in `cat proprietary-files.txt | grep -v ^# | grep -v ^$`; do
14 DIR=`dirname $FILE`
15 if [ ! -d $BASE/$DIR ]; then
16 mkdir -p $BASE/$DIR
17 fi
18 adb pull /system/$FILE $BASE/$FILE
19 done
d88d7aa2 » codeworkx
2011-05-21 galaxysmtd: fixed getting proprietary files into the buildsystem
20
055b3210 » pawitp
2012-08-16 my changes to cm
21 # Modem
22 echo "Pulling modem..."
23 adb pull /radio/modem.bin $BASE/modem.bin
d88d7aa2 » codeworkx
2011-05-21 galaxysmtd: fixed getting proprietary files into the buildsystem
24
25 ./setup-makefiles.sh
Something went wrong with that request. Please try again.