diff options
author | Ziyan <jaraidaniel@gmail.com> | 2016-02-21 17:03:37 +0100 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-02-23 10:29:08 -0800 |
commit | 92f25590ee6e027b38ea59a1aa5b1025489a40fb (patch) | |
tree | 2baf2740afdd3ec96a62a46a63ac405609f7a335 /extract-files.sh | |
parent | cf14b0ddc9468d61a761ee3b9e8fe4f0982820d9 (diff) | |
download | device_samsung_espresso3g-92f25590ee6e027b38ea59a1aa5b1025489a40fb.zip device_samsung_espresso3g-92f25590ee6e027b38ea59a1aa5b1025489a40fb.tar.gz device_samsung_espresso3g-92f25590ee6e027b38ea59a1aa5b1025489a40fb.tar.bz2 |
Common device tree for 3G variants
Change-Id: I957fac5b5d41b4afac158fb59feb4e45e2bcd0cf
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-x | extract-files.sh | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/extract-files.sh b/extract-files.sh index a11eaf3..6956be2 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2012 The CyanogenMod Project +# Copyright (C) 2016 The CyanogenMod Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,22 +17,11 @@ # This file is generated by device/common/generate-blob-scripts.sh - DO NOT EDIT VENDOR=samsung -COMMON=p51xx -DEVICE=p5100 -COMMONBASE=../../../vendor/$VENDOR/$COMMON/common -DEVICEBASE=../../../vendor/$VENDOR/$COMMON/$DEVICE - -echo "Pulling common files..." -for FILE in `cat ../espresso-common/proprietary-p51xx-files.txt | grep -v ^# | grep -v ^$`; do - DIR=`dirname $FILE` - if [ ! -d $COMMONBASE/$DIR ]; then - mkdir -p $COMMONBASE/$DIR - fi - adb pull /$FILE $COMMONBASE/$FILE -done +DEVICE=espresso3g +DEVICEBASE=../../../vendor/$VENDOR/$DEVICE echo "Pulling device specific files..." -for FILE in `cat proprietary-$DEVICE-files.txt | grep -v ^# | grep -v ^$`; do +for FILE in `cat proprietary-files.txt | grep -v ^# | grep -v ^$`; do DIR=`dirname $FILE` if [ ! -d $DEVICEBASE/$DIR ]; then mkdir -p $DEVICEBASE/$DIR @@ -42,4 +31,4 @@ done ./setup-makefiles.sh -./../../../device/samsung/omap4-common/extract-files.sh +./../../../device/samsung/espresso-common/extract-files.sh |