summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-02 16:12:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-02 16:41:56 +0100
commit5bcd6b2c3e935858ac80b17266b9e427060c1650 (patch)
treea1ab7534096ff6c3c804bf494651c3cc5897ff00 /meta
parent5b09d5dbac044277b5f1145057d1fc716ec35b9a (diff)
downloadopenembedded-core-5bcd6b2c3e935858ac80b17266b9e427060c1650.tar.gz
openembedded-core-5bcd6b2c3e935858ac80b17266b9e427060c1650.tar.bz2
openembedded-core-5bcd6b2c3e935858ac80b17266b9e427060c1650.zip
sysvinit: Mark as machine specific since there are machine specific components to this recipe
The inittab file depends on variables that are part of the machine config such as the SERIAL_CONSOLE so the whole recipe must get built as machine specific. Better might be to split the config out into a separate recipes from the binaries but this fixes the immediate problem. [YOCTO ##1131] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
index 2cb650eab6..e683cc7ce3 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
@@ -7,6 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4"
PR = "r3"
+# Need to set this since it has machine specific components
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
# Set PACKAGE_ARCH appropriately.
PACKAGE_ARCH_${PN}-inittab = "${MACHINE_ARCH}"