summaryrefslogtreecommitdiff
path: root/sysvinit/sysvinit_2.85.oe
diff options
context:
space:
mode:
Diffstat (limited to 'sysvinit/sysvinit_2.85.oe')
-rw-r--r--sysvinit/sysvinit_2.85.oe7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysvinit/sysvinit_2.85.oe b/sysvinit/sysvinit_2.85.oe
index 3bc0eb4ce9..b1c2c01cc0 100644
--- a/sysvinit/sysvinit_2.85.oe
+++ b/sysvinit/sysvinit_2.85.oe
@@ -10,7 +10,12 @@ FILES_${PN} = "/sbin ${bindir} ${sysconfdir}"
FILES_sysv-rc = "${sbindir}"
PR = "r1"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+python () {
+ mach = oe.data.getVar('MACHINE', d, 1)
+ if mach:
+ oe.data.setVar('PACKAGE_ARCH', oe.data.getVar('MACHINE_ARCH', d, 1), d)
+}
+
USE_VT ?= "1"
SRC_URI = "ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-${PV}.tar.gz \