diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-08-19 19:59:07 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-08-19 19:59:07 -0700 |
commit | 031a2615b30ed9fb132058d011e9ca52ac9d9a55 (patch) | |
tree | c242c9a285733fdf6833bee13559bb094a255042 /unzip-files.sh | |
parent | 3de8f4709a02c189aa7c99cd3ca337c401cfdee7 (diff) | |
download | device_samsung_crespo-031a2615b30ed9fb132058d011e9ca52ac9d9a55.tar.gz device_samsung_crespo-031a2615b30ed9fb132058d011e9ca52ac9d9a55.tar.bz2 device_samsung_crespo-031a2615b30ed9fb132058d011e9ca52ac9d9a55.zip |
Improve crespo relationship with open-source
-add a proper device.mk where open-source drivers can be added
-add skeletons for extract-files.sh and unzip-files.sh
-add a full_crespo config: the full open-source config on crespo
Change-Id: I9de3afc372974225c3f892f776d3b418c3ba8213
Diffstat (limited to 'unzip-files.sh')
-rw-r--r-- | unzip-files.sh | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/unzip-files.sh b/unzip-files.sh new file mode 100644 index 0000000..242d05d --- /dev/null +++ b/unzip-files.sh @@ -0,0 +1,52 @@ +#!/bin/sh + +# Copyright (C) 2010 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. + +# This file is generated by device/common/generate-blob-scripts.sh - DO NOT EDIT + +DEVICE=crespo +MANUFACTURER=samsung + +mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +unzip -j -o ../../../${DEVICE}_update.zip system/lib/libgips.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +unzip -j -o ../../../${DEVICE}_update.zip system/lib/libjingle.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary +unzip -j -o ../../../${DEVICE}_update.zip system/lib/liblvmxipc.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary + +(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/$DEVICE-vendor-blobs.mk +# Copyright (C) 2010 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. + +# This file is generated by device/__MANUFACTURER__/__DEVICE__/unzip-files.sh - DO NOT EDIT + + +# All the blobs necessary for crespo +PRODUCT_COPY_FILES += \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/libgips.so:system/lib/libgips.so \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/libjingle.so:system/lib/libjingle.so \\ + vendor/__MANUFACTURER__/__DEVICE__/proprietary/liblvmxipc.so:system/lib/liblvmxipc.so +EOF + +./setup-makefiles.sh |