mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 03:47:03 +00:00
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:
committed by
Richard Purdie
parent
b0789103af
commit
9cf8501444
@@ -1,13 +1,6 @@
|
||||
inherit kernel
|
||||
require recipes-kernel/linux/linux-yocto.inc
|
||||
|
||||
KMACHINE = "common-pc"
|
||||
KMACHINE_qemux86 = "common-pc"
|
||||
KMACHINE_qemux86-64 = "common-pc-64"
|
||||
KMACHINE_qemuarm = "arm-versatile-926ejs"
|
||||
KMACHINE_qemuppc = "qemu-ppc32"
|
||||
KMACHINE_qemumips = "mti-malta32-be"
|
||||
|
||||
KBRANCH = "standard/preempt-rt/base"
|
||||
KBRANCH_qemuppc = "standard/preempt-rt/qemu-ppc32"
|
||||
|
||||
@@ -18,7 +11,7 @@ KMETA = "meta"
|
||||
|
||||
SRCREV_machine ?= "fe2630b38159ea7b9cf977b5fed40a9917002087"
|
||||
SRCREV_machine_qemuppc ?= "0259e5a3ef568c6979f2cb31280a43c55c784f4f"
|
||||
SRCREV_meta ?= "49f931bc294d5b6be60502bbd448cff5aa766235"
|
||||
SRCREV_meta ?= "0a18db9fc89a0e030e8c7b8d01fe03c5ca4197e3"
|
||||
|
||||
PR = "r1"
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
Reference in New Issue
Block a user