summaryrefslogtreecommitdiff
path: root/sharp-binary-only
diff options
context:
space:
mode:
Diffstat (limited to 'sharp-binary-only')
-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)
+}