summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2013-04-11 11:28:11 -0700
committerJean-Baptiste Queru <jbq@google.com>2013-04-12 16:04:37 -0700
commit8a9017d7e2cbed62445aaea5fd39da70b320c0b8 (patch)
tree6b9652a171cf1358664f6cd75504eb4644b17238
parentaf1d81e4322434fda1ee967e4859697bd949a3b0 (diff)
downloadandroid_device_common-8a9017d7e2cbed62445aaea5fd39da70b320c0b8.tar.gz
android_device_common-8a9017d7e2cbed62445aaea5fd39da70b320c0b8.tar.bz2
android_device_common-8a9017d7e2cbed62445aaea5fd39da70b320c0b8.zip
Improve generation of lists of proprietary blobs.
Dynamically determine the list of devices. Skip code that doesn't build. Bug: 8596923 Bug: 8608278 Change-Id: I8cb334cb4d16555fe0cb8f802d09169b3996e562
-rwxr-xr-xgenerate-blob-lists.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/generate-blob-lists.sh b/generate-blob-lists.sh
index a845294..d80929c 100755
--- a/generate-blob-lists.sh
+++ b/generate-blob-lists.sh
@@ -42,11 +42,7 @@ then
fi
shift
-DEVICES="maguro toro toroplus panda grouper tilapia manta mako"
-
-# Start experimental devices
-DEVICES="$DEVICES"
-# End experimental devices
+DEVICES=$(for i in device/*/*/proprietary-blobs.txt ; do basename $(dirname $i) ; done)
export LC_ALL=C
@@ -72,6 +68,7 @@ else
sort -f > $ARCHIVEDIR/$DEVICENAME-with.txt
done
rm -rf vendor
+ rm -rf hardware/qcom/gps
for DEVICENAME in $DEVICES
do
rm -rf out