| Jean-Baptiste Queru | 735a4e3 | 2010-10-20 16:53:56 -0700 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # Copyright (C) 2010 The Android Open Source Project |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | # This file is generated by device/common/generate-blob-scripts.sh - DO NOT EDIT |
| 18 | |
| 19 | DEVICE=stingray |
| 20 | MANUFACTURER=moto |
| 21 | |
| 22 | mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| Jean-Baptiste Queru | 3ac8080 | 2011-01-20 15:25:15 -0800 | [diff] [blame] | 23 | unzip -j -o ../../../${DEVICE}_update.zip system/bin/batch -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| Jean-Baptiste Queru | 735a4e3 | 2010-10-20 16:53:56 -0700 | [diff] [blame] | 24 | unzip -j -o ../../../${DEVICE}_update.zip system/bin/brcm_guci_drv -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 25 | unzip -j -o ../../../${DEVICE}_update.zip system/bin/bypassfactory -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 26 | unzip -j -o ../../../${DEVICE}_update.zip system/bin/ftmipcd -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 27 | unzip -j -o ../../../${DEVICE}_update.zip system/bin/location -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 28 | unzip -j -o ../../../${DEVICE}_update.zip system/bin/savebpver -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 29 | unzip -j -o ../../../${DEVICE}_update.zip system/bin/tcmd -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 30 | unzip -j -o ../../../${DEVICE}_update.zip system/etc/gps.conf -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 31 | unzip -j -o ../../../${DEVICE}_update.zip system/etc/gpsconfig.xml -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 32 | unzip -j -o ../../../${DEVICE}_update.zip system/etc/location.cfg -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 33 | unzip -j -o ../../../${DEVICE}_update.zip system/etc/security/suplcerts.bks -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 34 | unzip -j -o ../../../${DEVICE}_update.zip system/lib/hw/gps.stingray.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 35 | unzip -j -o ../../../${DEVICE}_update.zip system/lib/libcamera.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 36 | unzip -j -o ../../../${DEVICE}_update.zip system/lib/libnvodm_imager.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 37 | unzip -j -o ../../../${DEVICE}_update.zip system/lib/libnvodm_query.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 38 | unzip -j -o ../../../${DEVICE}_update.zip system/lib/libnvomxilclient.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 39 | unzip -j -o ../../../${DEVICE}_update.zip system/lib/libnvos.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 40 | unzip -j -o ../../../${DEVICE}_update.zip system/lib/libnvrm.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| 41 | unzip -j -o ../../../${DEVICE}_update.zip system/lib/libnvrm_graphics.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary |
| Jean-Baptiste Queru | 735a4e3 | 2010-10-20 16:53:56 -0700 | [diff] [blame] | 42 | |
| 43 | (cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/device-vendor-blobs.mk |
| 44 | # Copyright (C) 2010 The Android Open Source Project |
| 45 | # |
| 46 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 47 | # you may not use this file except in compliance with the License. |
| 48 | # You may obtain a copy of the License at |
| 49 | # |
| 50 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 51 | # |
| 52 | # Unless required by applicable law or agreed to in writing, software |
| 53 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 54 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 55 | # See the License for the specific language governing permissions and |
| 56 | # limitations under the License. |
| 57 | |
| 58 | # This file is generated by device/__MANUFACTURER__/__DEVICE__/unzip-files.sh - DO NOT EDIT |
| 59 | |
| 60 | # Prebuilt libraries that are needed to build open-source libraries |
| 61 | PRODUCT_COPY_FILES := \\ |
| 62 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/libcamera.so:obj/lib/libcamera.so |
| 63 | |
| 64 | # All the blobs necessary for stingray |
| 65 | PRODUCT_COPY_FILES += \\ |
| Jean-Baptiste Queru | 3ac8080 | 2011-01-20 15:25:15 -0800 | [diff] [blame] | 66 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/batch:system/bin/batch \\ |
| Jean-Baptiste Queru | 735a4e3 | 2010-10-20 16:53:56 -0700 | [diff] [blame] | 67 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/brcm_guci_drv:system/bin/brcm_guci_drv \\ |
| 68 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/bypassfactory:system/bin/bypassfactory \\ |
| 69 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/ftmipcd:system/bin/ftmipcd \\ |
| 70 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/location:system/bin/location \\ |
| 71 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/savebpver:system/bin/savebpver \\ |
| 72 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/tcmd:system/bin/tcmd \\ |
| 73 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/gps.conf:system/etc/gps.conf \\ |
| 74 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/gpsconfig.xml:system/etc/gpsconfig.xml \\ |
| 75 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/location.cfg:system/etc/location.cfg \\ |
| 76 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/suplcerts.bks:system/etc/security/suplcerts.bks \\ |
| 77 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/gps.stingray.so:system/lib/hw/gps.stingray.so \\ |
| 78 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/libcamera.so:system/lib/libcamera.so \\ |
| 79 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/libnvodm_imager.so:system/lib/libnvodm_imager.so \\ |
| 80 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/libnvodm_query.so:system/lib/libnvodm_query.so \\ |
| 81 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/libnvomxilclient.so:system/lib/libnvomxilclient.so \\ |
| 82 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/libnvos.so:system/lib/libnvos.so \\ |
| 83 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/libnvrm.so:system/lib/libnvrm.so \\ |
| Jean-Baptiste Queru | 3ac8080 | 2011-01-20 15:25:15 -0800 | [diff] [blame] | 84 | vendor/__MANUFACTURER__/__DEVICE__/proprietary/libnvrm_graphics.so:system/lib/libnvrm_graphics.so |
| Jean-Baptiste Queru | 735a4e3 | 2010-10-20 16:53:56 -0700 | [diff] [blame] | 85 | EOF |
| 86 | |
| 87 | ./setup-makefiles.sh |