diff options
author | atinm <atinm.dev@gmail.com> | 2011-06-02 11:49:42 -0400 |
---|---|---|
committer | atinm <atinm.dev@gmail.com> | 2011-06-02 12:42:29 -0400 |
commit | 1998f55e10ce5d1f8456a72b4afa0252dbfae854 (patch) | |
tree | 8ea9ab9d70c66445706e7b03bda63c9f85fa3253 | |
parent | 98466bb9dfadcaf428a7ddd6ed73fc9d6417953d (diff) | |
download | device_samsung_galaxysmtd-1998f55e10ce5d1f8456a72b4afa0252dbfae854.zip device_samsung_galaxysmtd-1998f55e10ce5d1f8456a72b4afa0252dbfae854.tar.gz device_samsung_galaxysmtd-1998f55e10ce5d1f8456a72b4afa0252dbfae854.tar.bz2 |
Updated extract-files.sh to fix paths etc
-rwxr-xr-x | extract-files.sh | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/extract-files.sh b/extract-files.sh index 6e2b3b3..70f1537 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -22,14 +22,19 @@ mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary mkdir -p ../../../vendor/$MANUFACTURER/$COMMON/proprietary # galaxysmtd +adb pull /system/etc/gps.conf ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +adb pull /system/vendor/bin/gpsd ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +adb pull /system/vendor/etc/gps.xml ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +adb pull /system/vendor/lib/hw/gps.aries.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +adb pull /system/lib/libril.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +adb pull /system/lib/libsecril-client.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +adb pull /system/lib/libsec-ril.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +adb pull /system/bin/rild ../../../vendor/$MANUFACTURER/$DEVICE/proprietary adb pull /system/lib/libcamera.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +adb pull /radio/modem.bin ../../../vendor/$MANUFACTURER/$DEVICE/proprietary # aries-common -adb pull /system/etc/gps.conf ../../../vendor/$MANUFACTURER/$COMMON/proprietary -adb pull /system/lib/libsecril-client.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary -adb pull /system/vendor/bin/gpsd ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/bin/pvrsrvinit ../../../vendor/$MANUFACTURER/$COMMON/proprietary -adb pull /system/vendor/etc/gps.xml ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/firmware/bcm4329.hcd ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/firmware/nvram_net.txt ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/firmware/cypress-touchkey.bin ../../../vendor/$MANUFACTURER/$COMMON/proprietary @@ -38,7 +43,6 @@ adb pull /system/lib/egl/libGLES_android.so ../../../vendor/$MANUFACTURER/$COMMO adb pull /system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary -adb pull /system/vendor/lib/hw/gps.aries.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/lib/hw/gralloc.aries.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/lib/libakm.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/lib/libglslcompiler.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary @@ -46,7 +50,6 @@ adb pull /system/vendor/lib/libIMGegl.so ../../../vendor/$MANUFACTURER/$COMMON/p adb pull /system/vendor/lib/libpvr2d.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/lib/libpvrANDROID_WSEGL.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/lib/libPVRScopeServices.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary -adb pull /system/vendor/lib/libsec-ril.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/lib/libsrv_init.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/lib/libsrv_um.so ../../../vendor/$MANUFACTURER/$COMMON/proprietary adb pull /system/vendor/firmware/CE147F02.bin ../../../vendor/$MANUFACTURER/$COMMON/proprietary @@ -99,12 +102,23 @@ adb pull /system/firmware/CE147F03.bin ../../../vendor/$MANUFACTURER/$COMMON/pro # Prebuilt libraries that are needed to build open-source libraries PRODUCT_COPY_FILES := \\ - vendor/__MANUFACTURER__/__DEVICE__/proprietary/libcamera.so:obj/lib/libcamera.so + vendor/__MANUFACTURER__/__DEVICE__/proprietary/libcamera.so:obj/lib/libcamera.so \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/libril.so:obj/lib/libril.so \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsecril-client.so:obj/lib/libsecril-client.so -# All the blobs necessary for galaxysmtd +# All the blobs necessary for galaxys devices PRODUCT_COPY_FILES += \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/gps.conf:system/etc/gps.conf \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/gpsd:system/vendor/bin/gpsd \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/gps.xml:system/vendor/etc/gps.xml \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/gps.aries.so:system/vendor/lib/hw/gps.aries.so \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/libril.so:system/lib/libril.so \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsecril-client.so:system/lib/libsecril-client.so \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsec-ril.so:system/lib/libsec-ril.so \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/rild:system/bin/rild \\ vendor/__MANUFACTURER__/__DEVICE__/proprietary/libcamera.so:system/lib/libcamera.so + EOF @@ -123,26 +137,17 @@ EOF # See the License for the specific language governing permissions and # limitations under the License. -# Prebuilt libraries that are needed to build open-source libraries -PRODUCT_COPY_FILES := \\ - vendor/__MANUFACTURER__/__COMMON__/proprietary/libsecril-client.so:obj/lib/libsecril-client.so - # All the blobs necessary for galaxys devices PRODUCT_COPY_FILES += \\ - vendor/__MANUFACTURER__/__COMMON__/proprietary/gps.conf:system/etc/gps.conf \\ - vendor/__MANUFACTURER__/__COMMON__/proprietary/libsecril-client.so:system/lib/libsecril-client.so \\ - vendor/__MANUFACTURER__/__COMMON__/proprietary/gpsd:system/vendor/bin/gpsd \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/pvrsrvinit:system/vendor/bin/pvrsrvinit \\ - vendor/__MANUFACTURER__/__COMMON__/proprietary/gps.xml:system/vendor/etc/gps.xml \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/bcm4329.hcd:system/vendor/firmware/bcm4329.hcd \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/nvram_net.txt:system/vendor/firmware/nvram_net.txt \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/cypress-touchkey.bin:system/vendor/firmware/cypress-touchkey.bin \\ - vendor/__MANUFACTURER__/__COMMON__/proprietary/samsung_mfc_fw.bin:system/vendor/firmware/samsung_mfc_fw.bin \\ + vendor/__MANUFACTURER__/__COMMON__/proprietary/__MANUFACTURER___mfc_fw.bin:system/vendor/firmware/__MANUFACTURER___mfc_fw.bin \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libGLES_android.so:system/lib/egl/libGLES_android.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libEGL_POWERVR_SGX540_120.so:system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libGLESv1_CM_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \\ - vendor/samsung/__COMMON__/proprietary/libGLESv2_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so \\ - vendor/__MANUFACTURER__/__COMMON__/proprietary/gps.aries.so:system/vendor/lib/hw/gps.aries.so \\ + vendor/__MANUFACTURER__/__COMMON__/proprietary/libGLESv2_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/gralloc.aries.so:system/vendor/lib/hw/gralloc.aries.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libakm.so:system/vendor/lib/libakm.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libglslcompiler.so:system/vendor/lib/libglslcompiler.so \\ @@ -150,7 +155,6 @@ PRODUCT_COPY_FILES += \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libpvr2d.so:system/vendor/lib/libpvr2d.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libpvrANDROID_WSEGL.so:system/vendor/lib/libpvrANDROID_WSEGL.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libPVRScopeServices.so:system/vendor/lib/libPVRScopeServices.so \\ - vendor/__MANUFACTURER__/__COMMON__/proprietary/libsec-ril.so:system/vendor/lib/libsec-ril.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libsrv_init.so:system/vendor/lib/libsrv_init.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/libsrv_um.so:system/vendor/lib/libsrv_um.so \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/CE147F02.bin:system/vendor/firmware/CE147F02.bin \\ @@ -187,7 +191,7 @@ PRODUCT_COPY_FILES += \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/CE147F01.bin:system/firmware/CE147F01.bin \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/CE147F02.bin:system/firmware/CE147F02.bin \\ vendor/__MANUFACTURER__/__COMMON__/proprietary/CE147F03.bin:system/firmware/CE147F03.bin -EOF +EOF ./setup-makefiles.sh |