summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-02 07:06:01 +0000
committerChris Larson <clarson@kergoth.com>2004-12-02 07:06:01 +0000
commit0098bd1eaddd1831aae8d14d725c9835e88f4aad (patch)
tree2dc536e6fae9daa72699fa13003e9fa2a3c9ffad
parent6f07efa59db66c9564bec24f81a5e66d7b927621 (diff)
Set PACKAGE_ARCH to MACHINE_ARCH in the sharp camera support .oe.
BKrev: 41aebed9zeTrYAAcx2sJqlVCUGrSMQ
-rw-r--r--sharp-binary-only/sharp-camera-support_2.4.18-rmk7-pxa3-embedix.oe5
-rw-r--r--sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.oe7
2 files changed, 11 insertions, 1 deletions
diff --git a/sharp-binary-only/sharp-camera-support_2.4.18-rmk7-pxa3-embedix.oe b/sharp-binary-only/sharp-camera-support_2.4.18-rmk7-pxa3-embedix.oe
index 4af9476468..ef2bab794a 100644
--- a/sharp-binary-only/sharp-camera-support_2.4.18-rmk7-pxa3-embedix.oe
+++ b/sharp-binary-only/sharp-camera-support_2.4.18-rmk7-pxa3-embedix.oe
@@ -23,3 +23,8 @@ do_install() {
FILES_${PN} = "/"
+python () {
+ mach = oe.data.getVar('MACHINE', d, 1)
+ if mach:
+ oe.data.setVar('PACKAGE_ARCH', oe.data.getVar('MACHINE_ARCH', d, 1), d)
+}
diff --git a/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.oe b/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.oe
index 8cf9d2dde0..a56b6a440c 100644
--- a/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.oe
+++ b/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.oe
@@ -26,5 +26,10 @@ do_install() {
install -m 0644 ${MACHINE}/sharp_mmcsd_m.o ${D}/lib/modules/${PV}/kernel/drivers/block/
}
-PACKAGE_ARCH = ${MACHINE_ARCH}
FILES_${PN} = "/"
+
+python () {
+ mach = oe.data.getVar('MACHINE', d, 1)
+ if mach:
+ oe.data.setVar('PACKAGE_ARCH', oe.data.getVar('MACHINE_ARCH', d, 1), d)
+}