From 2001d3fb16901b975882d071866c7f2634ada9c8 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sat, 20 Nov 2004 20:53:41 +0000 Subject: Merge openembedded@openembedded.bkbits.net:packages-devel into hyperion.kergoth.com:/home/kergoth/code/packages 2004/11/20 14:53:40-06:00 ti.com!kergoth Merge openembedded@openembedded.bkbits.net:packages-devel into odin.sc.ti.com:/home/kergoth/code/packages 2004/11/20 14:53:29-06:00 ti.com!kergoth Make sysvinit buildable when MACHINE isnt set. 2004/11/20 13:37:35-06:00 ti.com!kergoth Fix m4 build: it helps to actually check in the patch. BKrev: 419faed5LrotZK1H8sNbf6fRABPztw --- sysvinit/sysvinit_2.85.oe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sysvinit/sysvinit_2.85.oe') 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 \ -- cgit v1.2.3