Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (19 sloc) 0.507 kb
d88d7aa Daniel Hillenbrand galaxysmtd: fixed getting proprietary files into the buildsystem
codeworkx authored
1 #!/bin/sh
2
055b321 Pawit Pornkitprasan my changes to cm
pawitp authored
3 VENDOR=samsung
d88d7aa Daniel Hillenbrand galaxysmtd: fixed getting proprietary files into the buildsystem
codeworkx authored
4 DEVICE=galaxysmtd
5 COMMON=aries-common
6
055b321 Pawit Pornkitprasan my changes to cm
pawitp authored
7 BASE=../../../vendor/$VENDOR/$DEVICE/proprietary
d88d7aa Daniel Hillenbrand galaxysmtd: fixed getting proprietary files into the buildsystem
codeworkx authored
8
055b321 Pawit Pornkitprasan my changes to cm
pawitp authored
9 # Get common files
10 (cd ../$COMMON && ./extract-files.sh)
d88d7aa Daniel Hillenbrand galaxysmtd: fixed getting proprietary files into the buildsystem
codeworkx authored
11
055b321 Pawit Pornkitprasan my changes to cm
pawitp authored
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
d88d7aa Daniel Hillenbrand galaxysmtd: fixed getting proprietary files into the buildsystem
codeworkx authored
20
055b321 Pawit Pornkitprasan my changes to cm
pawitp authored
21 # Modem
22 echo "Pulling modem..."
23 adb pull /radio/modem.bin $BASE/modem.bin
d88d7aa Daniel Hillenbrand galaxysmtd: fixed getting proprietary files into the buildsystem
codeworkx authored
24
25 ./setup-makefiles.sh
Something went wrong with that request. Please try again.