diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-05-31 16:06:10 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2012-05-31 16:06:10 -0700 |
commit | 97ea507f54081c87db29123023285b6d126a6e29 (patch) | |
tree | de667add722588c2a6f722452e5e5b9b4dcd8f39 | |
parent | afc23719508f1163f783cf7dd53409b03d6ef3f2 (diff) | |
download | wingray-97ea507f54081c87db29123023285b6d126a6e29.tar.gz |
Add files necessary for camera support
Change-Id: I5a7e5ebd122d4dd847c03ecdbdb19f74d3737c3a
-rwxr-xr-x | self-extractors/generate-packages.sh | 12 | ||||
-rw-r--r-- | self-extractors/moto/COPYRIGHT | 1 | ||||
-rw-r--r-- | self-extractors/moto/LICENSE | 1 | ||||
-rw-r--r-- | self-extractors/moto/staging/BoardConfigWingray.mk | 13 | ||||
-rw-r--r-- | self-extractors/moto/staging/device-wingray.mk | 19 | ||||
-rw-r--r-- | self-extractors/nvidia/staging/device-wingray.mk | 5 | ||||
-rw-r--r-- | self-extractors/root/BoardConfigVendor.mk | 1 | ||||
-rw-r--r-- | self-extractors/root/wingray-vendor.mk | 1 |
8 files changed, 52 insertions, 1 deletions
diff --git a/self-extractors/generate-packages.sh b/self-extractors/generate-packages.sh index e7ecd41..5b01011 100755 --- a/self-extractors/generate-packages.sh +++ b/self-extractors/generate-packages.sh @@ -35,7 +35,7 @@ ROOTDEVICE=stingray DEVICE=wingray MANUFACTURER=moto -for COMPANY in nvidia broadcom +for COMPANY in nvidia broadcom moto do echo Processing files from $COMPANY rm -rf tmp @@ -50,6 +50,11 @@ do system/vendor/firmware/fw_bcm4329_mfg.bin " ;; + moto) + TO_EXTRACT="\ + system/lib/hw/camera.stingray.so + " + ;; nvidia) TO_EXTRACT="\ system/etc/firmware/nvmm_aacdec.axf \ @@ -70,8 +75,11 @@ do system/etc/firmware/nvmm_sw_mp3dec.axf \ system/etc/firmware/nvmm_wavdec.axf \ system/etc/firmware/nvrm_avp.bin \ + system/lib/egl/libEGL_perfhud.so \ system/lib/egl/libEGL_tegra.so \ + system/lib/egl/libGLESv1_CM_perfhud.so \ system/lib/egl/libGLESv1_CM_tegra.so \ + system/lib/egl/libGLESv2_perfhud.so \ system/lib/egl/libGLESv2_tegra.so \ system/lib/hw/gralloc.tegra.so \ system/lib/hw/hwcomposer.tegra.so \ @@ -90,6 +98,8 @@ do system/lib/libnvmm_tracklist.so \ system/lib/libnvmm_utils.so \ system/lib/libnvmm_video.so \ + system/lib/libnvodm_imager.so \ + system/lib/libnvodm_query.so \ system/lib/libnvomx.so \ system/lib/libnvomxilclient.so \ system/lib/libnvos.so \ diff --git a/self-extractors/moto/COPYRIGHT b/self-extractors/moto/COPYRIGHT new file mode 100644 index 0000000..abd2ffd --- /dev/null +++ b/self-extractors/moto/COPYRIGHT @@ -0,0 +1 @@ +# (C) Motorola - All Rights Reserved diff --git a/self-extractors/moto/LICENSE b/self-extractors/moto/LICENSE new file mode 100644 index 0000000..9a204a6 --- /dev/null +++ b/self-extractors/moto/LICENSE @@ -0,0 +1 @@ +MOTOROLA LICENSE GOES HERE diff --git a/self-extractors/moto/staging/BoardConfigWingray.mk b/self-extractors/moto/staging/BoardConfigWingray.mk new file mode 100644 index 0000000..851a7a8 --- /dev/null +++ b/self-extractors/moto/staging/BoardConfigWingray.mk @@ -0,0 +1,13 @@ +# Copyright (C) 2011 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/self-extractors/moto/staging/device-wingray.mk b/self-extractors/moto/staging/device-wingray.mk new file mode 100644 index 0000000..34b8be2 --- /dev/null +++ b/self-extractors/moto/staging/device-wingray.mk @@ -0,0 +1,19 @@ +# Copyright (C) 2011 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +LOCAL_PATH := vendor/moto/wingray + +# Motorola blobnecessary for wingray hardware +PRODUCT_COPY_FILES := \ + $(LOCAL_PATH)/proprietary/camera.stingray.so:system/lib/hw/camera.stingray.so diff --git a/self-extractors/nvidia/staging/device-wingray.mk b/self-extractors/nvidia/staging/device-wingray.mk index 8ef8941..eb42b6d 100644 --- a/self-extractors/nvidia/staging/device-wingray.mk +++ b/self-extractors/nvidia/staging/device-wingray.mk @@ -34,8 +34,11 @@ PRODUCT_COPY_FILES := \ $(LOCAL_PATH)/proprietary/nvmm_sw_mp3dec.axf:system/etc/firmware/nvmm_sw_mp3dec.axf \ $(LOCAL_PATH)/proprietary/nvmm_wavdec.axf:system/etc/firmware/nvmm_wavdec.axf \ $(LOCAL_PATH)/proprietary/nvrm_avp.bin:system/etc/firmware/nvrm_avp.bin \ + $(LOCAL_PATH)/proprietary/libEGL_perfhud.so:system/lib/egl/libEGL_perfhud.so \ $(LOCAL_PATH)/proprietary/libEGL_tegra.so:system/lib/egl/libEGL_tegra.so \ + $(LOCAL_PATH)/proprietary/libGLESv1_CM_perfhud.so:system/lib/egl/libGLESv1_CM_perfhud.so \ $(LOCAL_PATH)/proprietary/libGLESv1_CM_tegra.so:system/lib/egl/libGLESv1_CM_tegra.so \ + $(LOCAL_PATH)/proprietary/libGLESv2_perfhud.so:system/lib/egl/libGLESv2_perfhud.so \ $(LOCAL_PATH)/proprietary/libGLESv2_tegra.so:system/lib/egl/libGLESv2_tegra.so \ $(LOCAL_PATH)/proprietary/gralloc.tegra.so:system/lib/hw/gralloc.tegra.so \ $(LOCAL_PATH)/proprietary/hwcomposer.tegra.so:system/lib/hw/hwcomposer.tegra.so \ @@ -54,6 +57,8 @@ PRODUCT_COPY_FILES := \ $(LOCAL_PATH)/proprietary/libnvmm_tracklist.so:system/lib/libnvmm_tracklist.so \ $(LOCAL_PATH)/proprietary/libnvmm_utils.so:system/lib/libnvmm_utils.so \ $(LOCAL_PATH)/proprietary/libnvmm_video.so:system/lib/libnvmm_video.so \ + $(LOCAL_PATH)/proprietary/libnvodm_imager.so:system/lib/libnvodm_imager.so \ + $(LOCAL_PATH)/proprietary/libnvodm_query.so:system/lib/libnvodm_query.so \ $(LOCAL_PATH)/proprietary/libnvomx.so:system/lib/libnvomx.so \ $(LOCAL_PATH)/proprietary/libnvomxilclient.so:system/lib/libnvomxilclient.so \ $(LOCAL_PATH)/proprietary/libnvos.so:system/lib/libnvos.so \ diff --git a/self-extractors/root/BoardConfigVendor.mk b/self-extractors/root/BoardConfigVendor.mk index 4dd06a0..7a5611f 100644 --- a/self-extractors/root/BoardConfigVendor.mk +++ b/self-extractors/root/BoardConfigVendor.mk @@ -15,4 +15,5 @@ LOCAL_STEM := wingray/BoardConfigWingray.mk -include vendor/broadcom/$(LOCAL_STEM) +-include vendor/moto/$(LOCAL_STEM) -include vendor/nvidia/$(LOCAL_STEM) diff --git a/self-extractors/root/wingray-vendor.mk b/self-extractors/root/wingray-vendor.mk index 0c686ff..da36421 100644 --- a/self-extractors/root/wingray-vendor.mk +++ b/self-extractors/root/wingray-vendor.mk @@ -15,4 +15,5 @@ LOCAL_STEM := wingray/device-wingray.mk $(call inherit-product-if-exists, vendor/broadcom/$(LOCAL_STEM)) +$(call inherit-product-if-exists, vendor/moto/$(LOCAL_STEM)) $(call inherit-product-if-exists, vendor/nvidia/$(LOCAL_STEM)) |