diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2013-04-11 11:28:11 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2013-04-12 16:04:37 -0700 |
commit | 8a9017d7e2cbed62445aaea5fd39da70b320c0b8 (patch) | |
tree | 6b9652a171cf1358664f6cd75504eb4644b17238 | |
parent | af1d81e4322434fda1ee967e4859697bd949a3b0 (diff) | |
download | device_common-8a9017d7e2cbed62445aaea5fd39da70b320c0b8.tar.gz device_common-8a9017d7e2cbed62445aaea5fd39da70b320c0b8.tar.bz2 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-x | generate-blob-lists.sh | 7 |
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 |