summaryrefslogtreecommitdiff
path: root/sharp-binary-only/sharp-camera-support_2.4.18-rmk7-pxa3-embedix.oe
diff options
context:
space:
mode:
Diffstat (limited to 'sharp-binary-only/sharp-camera-support_2.4.18-rmk7-pxa3-embedix.oe')
-rw-r--r--sharp-binary-only/sharp-camera-support_2.4.18-rmk7-pxa3-embedix.oe5
1 files changed, 5 insertions, 0 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)
+}