linux-yocto: add machine aliases for yocto BSPs

To avoid mapping machine names to kernel machine names in recipes,
we can define multiple KMACHINE names for a single in tree board.
This allows the tools to match a board description to multiple
different MACHINEs.

As a result, we can remove the explicit KMACHINE mappings from
the linux-yocto recipes and allow the KMACHINE=${MACHINE} default
to handle mappings. Individual recipes an bbappends can override
this as required.

(From OE-Core rev: d3dc05a4b808136876cb257a568737abfaceeadd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield
2012-06-07 15:59:46 -04:00
committed by Richard Purdie
parent b0789103af
commit 9cf8501444
5 changed files with 5 additions and 34 deletions

View File

@@ -4,7 +4,6 @@ require recipes-kernel/linux/linux-yocto.inc
# We need lzma (as CONFIG_KERNEL_LZMA=y)
DEPENDS += "xz-native"
KMACHINE = "common-pc"
KBRANCH = "standard/tiny"
LINUX_KERNEL_TYPE = "tiny"
KCONFIG_MODE = "--allnoconfig"
@@ -12,7 +11,7 @@ KCONFIG_MODE = "--allnoconfig"
LINUX_VERSION ?= "3.2.18"
SRCREV_machine ?= "8b8cfaaab2b8d79ac56e8c9a85bad9ae7bca399c"
SRCREV_meta ?= "49f931bc294d5b6be60502bbd448cff5aa766235"
SRCREV_meta ?= "0a18db9fc89a0e030e8c7b8d01fe03c5ca4197e3"
PR = "r0"
PV = "${LINUX_VERSION}+git${SRCPV}"