summaryrefslogtreecommitdiffstats
path: root/self-extractors
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2011-07-31 09:38:20 -0700
committerJean-Baptiste Queru <jbq@google.com>2011-08-01 10:05:55 -0700
commit46f5df2c54db2983502a0f2b0f8e0fadae9d6f45 (patch)
treed56c6b156b7711fb7657fd795be0b431de452eaf /self-extractors
parent77b1b1b51ef84e798ccddaccba4f3bdad3b14106 (diff)
downloaddevice_samsung_maguro-46f5df2c54db2983502a0f2b0f8e0fadae9d6f45.zip
device_samsung_maguro-46f5df2c54db2983502a0f2b0f8e0fadae9d6f45.tar.gz
device_samsung_maguro-46f5df2c54db2983502a0f2b0f8e0fadae9d6f45.tar.bz2
Generate self-extractors for Maguro
Change-Id: I44e6b457571ed43164b5b6476d91884e83198e6d
Diffstat (limited to 'self-extractors')
-rw-r--r--self-extractors/Android.mk0
-rw-r--r--self-extractors/PART112
-rw-r--r--self-extractors/PART222
-rw-r--r--self-extractors/PART312
-rw-r--r--self-extractors/PROLOGUE2
-rw-r--r--self-extractors/broadcom/COPYRIGHT1
-rw-r--r--self-extractors/broadcom/LICENSE1
-rw-r--r--self-extractors/broadcom/staging/BoardConfigMaguro.mk13
-rw-r--r--self-extractors/broadcom/staging/device-maguro.mk19
-rw-r--r--self-extractors/csr/COPYRIGHT1
-rw-r--r--self-extractors/csr/LICENSE1
-rw-r--r--self-extractors/csr/staging/BoardConfigMaguro.mk13
-rw-r--r--self-extractors/csr/staging/device-maguro.mk20
-rwxr-xr-xself-extractors/generate-packages.sh116
-rw-r--r--self-extractors/imgtec/COPYRIGHT1
-rw-r--r--self-extractors/imgtec/LICENSE1
-rw-r--r--self-extractors/imgtec/staging/BoardConfigMaguro.mk13
-rw-r--r--self-extractors/imgtec/staging/device-maguro.mk31
-rw-r--r--self-extractors/nxp/COPYRIGHT1
-rw-r--r--self-extractors/nxp/LICENSE1
-rw-r--r--self-extractors/nxp/staging/BoardConfigMaguro.mk13
-rw-r--r--self-extractors/nxp/staging/device-maguro.mk19
-rw-r--r--self-extractors/root/BoardConfigVendor.mk22
-rw-r--r--self-extractors/root/device-vendor.mk22
-rw-r--r--self-extractors/samsung/COPYRIGHT1
-rw-r--r--self-extractors/samsung/LICENSE1
-rw-r--r--self-extractors/samsung/staging/BoardConfigMaguro.mk13
-rw-r--r--self-extractors/samsung/staging/device-maguro.mk20
-rw-r--r--self-extractors/ti/COPYRIGHT1
-rw-r--r--self-extractors/ti/LICENSE1
-rw-r--r--self-extractors/ti/staging/BoardConfigMaguro.mk13
-rw-r--r--self-extractors/ti/staging/device-maguro.mk19
32 files changed, 426 insertions, 0 deletions
diff --git a/self-extractors/Android.mk b/self-extractors/Android.mk
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/self-extractors/Android.mk
diff --git a/self-extractors/PART1 b/self-extractors/PART1
new file mode 100644
index 0000000..935267e
--- /dev/null
+++ b/self-extractors/PART1
@@ -0,0 +1,12 @@
+#
+# Usage is subject to the enclosed license agreement
+
+echo
+echo The license for this software will now be displayed.
+echo You must agree to this license before using this software.
+echo
+echo -n Press Enter to view the license
+read dummy
+echo
+
+more << __EOF__
diff --git a/self-extractors/PART2 b/self-extractors/PART2
new file mode 100644
index 0000000..30e8d43
--- /dev/null
+++ b/self-extractors/PART2
@@ -0,0 +1,22 @@
+__EOF__
+
+if test $? != 0
+then
+ echo ERROR: Couldn\'t display license file 1>&2
+ exit 1
+fi
+
+echo
+
+echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\
+read typed
+
+if test "$typed" != I\ ACCEPT
+then
+ echo
+ echo You didn\'t accept the license. Extraction aborted.
+ exit 2
+fi
+
+echo
+
diff --git a/self-extractors/PART3 b/self-extractors/PART3
new file mode 100644
index 0000000..6847be5
--- /dev/null
+++ b/self-extractors/PART3
@@ -0,0 +1,12 @@
+
+if test $? != 0
+then
+ echo
+ echo ERROR: Couldn\'t extract files. 1>&2
+ exit 3
+else
+ echo
+ echo Files extracted successfully.
+fi
+exit 0
+
diff --git a/self-extractors/PROLOGUE b/self-extractors/PROLOGUE
new file mode 100644
index 0000000..c856ef1
--- /dev/null
+++ b/self-extractors/PROLOGUE
@@ -0,0 +1,2 @@
+#!/bin/bash
+#
diff --git a/self-extractors/broadcom/COPYRIGHT b/self-extractors/broadcom/COPYRIGHT
new file mode 100644
index 0000000..61c079d
--- /dev/null
+++ b/self-extractors/broadcom/COPYRIGHT
@@ -0,0 +1 @@
+# (C) Broadcom Corporation. All Rights Reserved.
diff --git a/self-extractors/broadcom/LICENSE b/self-extractors/broadcom/LICENSE
new file mode 100644
index 0000000..95d4f4e
--- /dev/null
+++ b/self-extractors/broadcom/LICENSE
@@ -0,0 +1 @@
+BROADCOM LICENSE GOES HERE
diff --git a/self-extractors/broadcom/staging/BoardConfigMaguro.mk b/self-extractors/broadcom/staging/BoardConfigMaguro.mk
new file mode 100644
index 0000000..01a0ff3
--- /dev/null
+++ b/self-extractors/broadcom/staging/BoardConfigMaguro.mk
@@ -0,0 +1,13 @@
+# 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.
diff --git a/self-extractors/broadcom/staging/device-maguro.mk b/self-extractors/broadcom/staging/device-maguro.mk
new file mode 100644
index 0000000..2e8727d
--- /dev/null
+++ b/self-extractors/broadcom/staging/device-maguro.mk
@@ -0,0 +1,19 @@
+# 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.
+
+LOCAL_PATH := vendor/broadcom/maguro
+
+# Broadcom blob necessary for Maguro hardware
+PRODUCT_COPY_FILES := \
+ $(LOCAL_PATH)/proprietary/bcm4330.hcd:system/vendor/firmware/bcm4330.hcd
diff --git a/self-extractors/csr/COPYRIGHT b/self-extractors/csr/COPYRIGHT
new file mode 100644
index 0000000..a8d6e9c
--- /dev/null
+++ b/self-extractors/csr/COPYRIGHT
@@ -0,0 +1 @@
+# (C) CSR. All Rights Reserved.
diff --git a/self-extractors/csr/LICENSE b/self-extractors/csr/LICENSE
new file mode 100644
index 0000000..d4f0b6d
--- /dev/null
+++ b/self-extractors/csr/LICENSE
@@ -0,0 +1 @@
+CSR LICENSE GOES HERE
diff --git a/self-extractors/csr/staging/BoardConfigMaguro.mk b/self-extractors/csr/staging/BoardConfigMaguro.mk
new file mode 100644
index 0000000..01a0ff3
--- /dev/null
+++ b/self-extractors/csr/staging/BoardConfigMaguro.mk
@@ -0,0 +1,13 @@
+# 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.
diff --git a/self-extractors/csr/staging/device-maguro.mk b/self-extractors/csr/staging/device-maguro.mk
new file mode 100644
index 0000000..adce4eb
--- /dev/null
+++ b/self-extractors/csr/staging/device-maguro.mk
@@ -0,0 +1,20 @@
+# 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.
+
+LOCAL_PATH := vendor/csr/maguro
+
+# CSR blobs necessary for Maguro hardware
+PRODUCT_COPY_FILES := \
+ $(LOCAL_PATH)/proprietary/gps.omap4.so:system/vendor/lib/hw/gps.omap4.so \
+ $(LOCAL_PATH)/proprietary/sirfgps.conf:system/vendor/etc/sirfgps.conf
diff --git a/self-extractors/generate-packages.sh b/self-extractors/generate-packages.sh
new file mode 100755
index 0000000..15e9377
--- /dev/null
+++ b/self-extractors/generate-packages.sh
@@ -0,0 +1,116 @@
+#!/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.
+
+# 155376 = IRK28C
+# 156135 = IRK32
+ZIP=yakju-ota-156135.zip
+BUILD=irk32
+ROOTDEVICE=maguro
+DEVICE=maguro
+MANUFACTURER=samsung
+
+for COMPANY in broadcom csr imgtec nxp samsung ti
+do
+ echo Processing files from $COMPANY
+ rm -rf tmp
+ FILEDIR=tmp/vendor/$COMPANY/$DEVICE/proprietary
+ mkdir -p $FILEDIR
+ mkdir -p tmp/vendor/$MANUFACTURER/$ROOTDEVICE
+ case $COMPANY in
+ broadcom)
+ TO_EXTRACT="\
+ system/vendor/firmware/bcm4330.hcd \
+ "
+ ;;
+ csr)
+ TO_EXTRACT="\
+ system/vendor/lib/hw/gps.omap4.so \
+ system/vendor/etc/sirfgps.conf \
+ "
+ ;;
+ imgtec)
+ TO_EXTRACT="\
+ system/vendor/bin/pvrsrvinit \
+ system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so \
+ system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \
+ system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so \
+ system/vendor/lib/hw/gralloc.omap4.so \
+ system/vendor/lib/libglslcompiler.so \
+ system/vendor/lib/libIMGegl.so \
+ system/vendor/lib/libpvr2d.so \
+ system/vendor/lib/libpvrANDROID_WSEGL.so \
+ system/vendor/lib/libPVRScopeServices.so \
+ system/vendor/lib/libsrv_init.so \
+ system/vendor/lib/libsrv_um.so \
+ system/vendor/lib/libusc.so \
+ "
+ ;;
+ nxp)
+ TO_EXTRACT="\
+ system/vendor/firmware/libpn544_fw.so \
+ "
+ ;;
+ samsung)
+ TO_EXTRACT="\
+ system/lib/libsecril-client.so \
+ system/vendor/lib/libsec-ril.so \
+ "
+ ;;
+ ti)
+ TO_EXTRACT="\
+ system/vendor/firmware/ducati-m3.bin \
+ "
+ ;;
+ esac
+ echo \ \ Extracting files from OTA package
+ for ONE_FILE in $TO_EXTRACT
+ do
+ echo \ \ \ \ Extracting $ONE_FILE
+ unzip -j -o $ZIP $ONE_FILE -d $FILEDIR > /dev/null || echo \ \ \ \ Error extracting $ONE_FILE
+ if test $ONE_FILE = system/vendor/bin/gpsd -o $ONE_FILE = system/vendor/bin/pvrsrvinit
+ then
+ chmod a+x $FILEDIR/$(basename $ONE_FILE) || echo \ \ \ \ Error chmoding $ONE_FILE
+ fi
+ if test $(echo $ONE_FILE | grep \\.apk\$ | wc -l) = 1
+ then
+ echo \ \ \ \ Splitting $ONE_FILE
+ mkdir -p $FILEDIR/$(basename $ONE_FILE).parts || echo \ \ \ \ Error making parts dir for $ONE_FILE
+ unzip $FILEDIR/$(basename $ONE_FILE) -d $FILEDIR/$(basename $ONE_FILE).parts > /dev/null || echo \ \ \ \ Error unzipping $ONE_FILE
+ rm $FILEDIR/$(basename $ONE_FILE) || echo \ \ \ \ Error removing original $ONE_FILE
+ rm -rf $FILEDIR/$(basename $ONE_FILE).parts/META-INF || echo \ \ \ \ Error removing META-INF for $ONE_FILE
+ fi
+ done
+ echo \ \ Setting up $COMPANY-specific makefiles
+ cp -R $COMPANY/staging/* tmp/vendor/$COMPANY/$DEVICE || echo \ \ \ \ Error copying makefiles
+ echo \ \ Setting up shared makefiles
+ cp -R root/* tmp/vendor/$MANUFACTURER/$ROOTDEVICE || echo \ \ \ \ Error copying makefiles
+ echo \ \ Generating self-extracting script
+ SCRIPT=extract-$COMPANY-$DEVICE.sh
+ cat PROLOGUE > tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat $COMPANY/COPYRIGHT >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat PART1 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat $COMPANY/LICENSE >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat PART2 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ echo tail -n +$(expr 2 + $(cat PROLOGUE $COMPANY/COPYRIGHT PART1 $COMPANY/LICENSE PART2 PART3 | wc -l)) \$0 \| tar zxv >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat PART3 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ (cd tmp ; tar zc --owner=root --group=root vendor/ >> $SCRIPT || echo \ \ \ \ Error generating embedded tgz)
+ chmod a+x tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ ARCHIVE=$COMPANY-$DEVICE-$BUILD-$(md5sum < tmp/$SCRIPT | cut -b -8 | tr -d \\n).tgz
+ rm -f $ARCHIVE
+ echo \ \ Generating final archive
+ (cd tmp ; tar --owner=root --group=root -z -c -f ../$ARCHIVE $SCRIPT || echo \ \ \ \ Error archiving script)
+ rm -rf tmp
+done
diff --git a/self-extractors/imgtec/COPYRIGHT b/self-extractors/imgtec/COPYRIGHT
new file mode 100644
index 0000000..3774e95
--- /dev/null
+++ b/self-extractors/imgtec/COPYRIGHT
@@ -0,0 +1 @@
+# (C) Imagination Technologies Ltd. All Rights Reserved.
diff --git a/self-extractors/imgtec/LICENSE b/self-extractors/imgtec/LICENSE
new file mode 100644
index 0000000..2be446f
--- /dev/null
+++ b/self-extractors/imgtec/LICENSE
@@ -0,0 +1 @@
+IMGTEC LICENSE GOES HERE
diff --git a/self-extractors/imgtec/staging/BoardConfigMaguro.mk b/self-extractors/imgtec/staging/BoardConfigMaguro.mk
new file mode 100644
index 0000000..01a0ff3
--- /dev/null
+++ b/self-extractors/imgtec/staging/BoardConfigMaguro.mk
@@ -0,0 +1,13 @@
+# 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.
diff --git a/self-extractors/imgtec/staging/device-maguro.mk b/self-extractors/imgtec/staging/device-maguro.mk
new file mode 100644
index 0000000..a9f2e85
--- /dev/null
+++ b/self-extractors/imgtec/staging/device-maguro.mk
@@ -0,0 +1,31 @@
+# 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.
+
+LOCAL_PATH := vendor/imgtec/maguro
+
+# Imgtec blobs necessary for Maguro hardware
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/proprietary/pvrsrvinit:system/vendor/bin/pvrsrvinit \
+ $(LOCAL_PATH)/proprietary/libEGL_POWERVR_SGX540_120.so:system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so \
+ $(LOCAL_PATH)/proprietary/libGLESv1_CM_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \
+ $(LOCAL_PATH)/proprietary/libGLESv2_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so \
+ $(LOCAL_PATH)/proprietary/gralloc.omap4.so:system/vendor/lib/hw/gralloc.omap4.so \
+ $(LOCAL_PATH)/proprietary/libglslcompiler.so:system/vendor/lib/libglslcompiler.so \
+ $(LOCAL_PATH)/proprietary/libIMGegl.so:system/vendor/lib/libIMGegl.so \
+ $(LOCAL_PATH)/proprietary/libpvr2d.so:system/vendor/lib/libpvr2d.so \
+ $(LOCAL_PATH)/proprietary/libpvrANDROID_WSEGL.so:system/vendor/lib/libpvrANDROID_WSEGL.so \
+ $(LOCAL_PATH)/proprietary/libPVRScopeServices.so:system/vendor/lib/libPVRScopeServices.so \
+ $(LOCAL_PATH)/proprietary/libsrv_init.so:system/vendor/lib/libsrv_init.so \
+ $(LOCAL_PATH)/proprietary/libsrv_um.so:system/vendor/lib/libsrv_um.so \
+ $(LOCAL_PATH)/proprietary/libusc.so:system/vendor/lib/libusc.so
diff --git a/self-extractors/nxp/COPYRIGHT b/self-extractors/nxp/COPYRIGHT
new file mode 100644
index 0000000..b2e86b3
--- /dev/null
+++ b/self-extractors/nxp/COPYRIGHT
@@ -0,0 +1 @@
+# (C) NXP Semiconductors Netherlands B.V. All Rights Reserved.
diff --git a/self-extractors/nxp/LICENSE b/self-extractors/nxp/LICENSE
new file mode 100644
index 0000000..2036bb3
--- /dev/null
+++ b/self-extractors/nxp/LICENSE
@@ -0,0 +1 @@
+NXP LICENSE GOES HERE
diff --git a/self-extractors/nxp/staging/BoardConfigMaguro.mk b/self-extractors/nxp/staging/BoardConfigMaguro.mk
new file mode 100644
index 0000000..01a0ff3
--- /dev/null
+++ b/self-extractors/nxp/staging/BoardConfigMaguro.mk
@@ -0,0 +1,13 @@
+# 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.
diff --git a/self-extractors/nxp/staging/device-maguro.mk b/self-extractors/nxp/staging/device-maguro.mk
new file mode 100644
index 0000000..1a29638
--- /dev/null
+++ b/self-extractors/nxp/staging/device-maguro.mk
@@ -0,0 +1,19 @@
+# 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.
+
+LOCAL_PATH := vendor/nxp/maguro
+
+# NXP blob necessary for Maguro hardware
+PRODUCT_COPY_FILES := \
+ $(LOCAL_PATH)/proprietary/libpn544_fw.so:system/vendor/firmware/libpn544_fw.so
diff --git a/self-extractors/root/BoardConfigVendor.mk b/self-extractors/root/BoardConfigVendor.mk
new file mode 100644
index 0000000..dd2354e
--- /dev/null
+++ b/self-extractors/root/BoardConfigVendor.mk
@@ -0,0 +1,22 @@
+# 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.
+
+LOCAL_STEM := maguro/BoardConfigMaguro.mk
+
+-include vendor/broadcom/$(LOCAL_STEM)
+-include vendor/csr/$(LOCAL_STEM)
+-include vendor/imgtec/$(LOCAL_STEM)
+-include vendor/nxp/$(LOCAL_STEM)
+-include vendor/samsung/$(LOCAL_STEM)
+-include vendor/ti/$(LOCAL_STEM)
diff --git a/self-extractors/root/device-vendor.mk b/self-extractors/root/device-vendor.mk
new file mode 100644
index 0000000..11a45cc
--- /dev/null
+++ b/self-extractors/root/device-vendor.mk
@@ -0,0 +1,22 @@
+# 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.
+
+LOCAL_STEM := maguro/device-maguro.mk
+
+$(call inherit-product-if-exists, vendor/broadcom/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/csr/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/imgtec/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/nxp/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/samsung/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/ti/$(LOCAL_STEM))
diff --git a/self-extractors/samsung/COPYRIGHT b/self-extractors/samsung/COPYRIGHT
new file mode 100644
index 0000000..ba0f6e8
--- /dev/null
+++ b/self-extractors/samsung/COPYRIGHT
@@ -0,0 +1 @@
+# (C) Samsung Electronics, Inc. All Rights Reserved.
diff --git a/self-extractors/samsung/LICENSE b/self-extractors/samsung/LICENSE
new file mode 100644
index 0000000..50baf50
--- /dev/null
+++ b/self-extractors/samsung/LICENSE
@@ -0,0 +1 @@
+SAMSUNG LICENSE GOES HERE
diff --git a/self-extractors/samsung/staging/BoardConfigMaguro.mk b/self-extractors/samsung/staging/BoardConfigMaguro.mk
new file mode 100644
index 0000000..01a0ff3
--- /dev/null
+++ b/self-extractors/samsung/staging/BoardConfigMaguro.mk
@@ -0,0 +1,13 @@
+# 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.
diff --git a/self-extractors/samsung/staging/device-maguro.mk b/self-extractors/samsung/staging/device-maguro.mk
new file mode 100644
index 0000000..f266776
--- /dev/null
+++ b/self-extractors/samsung/staging/device-maguro.mk
@@ -0,0 +1,20 @@
+# 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.
+
+LOCAL_PATH := vendor/samsung/maguro
+
+# Samsung blobs necessary for Maguro hardware
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/proprietary/libsecril-client.so:system/lib/libsecril-client.so \
+ $(LOCAL_PATH)/proprietary/libsec-ril.so:system/vendor/lib/libsec-ril.so
diff --git a/self-extractors/ti/COPYRIGHT b/self-extractors/ti/COPYRIGHT
new file mode 100644
index 0000000..b273f67
--- /dev/null
+++ b/self-extractors/ti/COPYRIGHT
@@ -0,0 +1 @@
+# (C) Texas Instruments. All Rights Reserved.
diff --git a/self-extractors/ti/LICENSE b/self-extractors/ti/LICENSE
new file mode 100644
index 0000000..083e6ec
--- /dev/null
+++ b/self-extractors/ti/LICENSE
@@ -0,0 +1 @@
+TI LICENSE GOES HERE
diff --git a/self-extractors/ti/staging/BoardConfigMaguro.mk b/self-extractors/ti/staging/BoardConfigMaguro.mk
new file mode 100644
index 0000000..01a0ff3
--- /dev/null
+++ b/self-extractors/ti/staging/BoardConfigMaguro.mk
@@ -0,0 +1,13 @@
+# 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.
diff --git a/self-extractors/ti/staging/device-maguro.mk b/self-extractors/ti/staging/device-maguro.mk
new file mode 100644
index 0000000..e14a8e3
--- /dev/null
+++ b/self-extractors/ti/staging/device-maguro.mk
@@ -0,0 +1,19 @@
+# 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.
+
+LOCAL_PATH := vendor/ti/maguro
+
+# TI blob necessary for Maguro hardware
+PRODUCT_COPY_FILES := \
+ $(LOCAL_PATH)/proprietary/ducati-m3.bin:system/vendor/firmware/ducati-m3.bin