summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-02 16:12:32 +0100
committerSaul Wold <sgw@linux.intel.com>2011-06-02 16:00:07 -0700
commitea4a13a0d665e5637554b12ec222288bb1ab4871 (patch)
tree93391ad0ab2727109f7f2590a5c999e8fb8411c1
parent4ff7af11ef69849ef9c16f585eae58ac920b222b (diff)
downloadpoky-ea4a13a0d665e5637554b12ec222288bb1ab4871.tar.gz
poky-ea4a13a0d665e5637554b12ec222288bb1ab4871.tar.bz2
poky-ea4a13a0d665e5637554b12ec222288bb1ab4871.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] (From OE-Core rev: 5bcd6b2c3e935858ac80b17266b9e427060c1650) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 7d5e9366ec..0ef9532e3a 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 = "r1"
+# 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}"