diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-06-07 15:59:46 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-08 11:56:31 +0100 |
commit | 9cf85014444a55ecfd2bd794ff267f68fa216928 (patch) | |
tree | 7c8186364190f9c2fb4d10081968bf79a3747576 /meta/recipes-kernel/linux/linux-yocto_3.0.bb | |
parent | b0789103afd51fb74b8dd47e0b5584f65c96b90c (diff) | |
download | poky-9cf85014444a55ecfd2bd794ff267f68fa216928.tar.gz |
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>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto_3.0.bb')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.0.bb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb index 0f1be83967..cfae247866 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb | |||
@@ -8,13 +8,6 @@ KBRANCH_qemuppc = "yocto/standard/qemu-ppc32" | |||
8 | KBRANCH_qemumips = "yocto/standard/mti-malta32-be" | 8 | KBRANCH_qemumips = "yocto/standard/mti-malta32-be" |
9 | KBRANCH_qemuarm = "yocto/standard/arm-versatile-926ejs" | 9 | KBRANCH_qemuarm = "yocto/standard/arm-versatile-926ejs" |
10 | 10 | ||
11 | # Temporary until 3.0 kernel tree is updated with machine mappings | ||
12 | KMACHINE_qemux86 = "common-pc" | ||
13 | KMACHINE_qemux86-64 = "common-pc-64" | ||
14 | KMACHINE_qemuppc = "qemu-ppc32" | ||
15 | KMACHINE_qemumips = "mti-malta32-be" | ||
16 | KMACHINE_qemuarm = "arm-versatile-926ejs" | ||
17 | |||
18 | KMETA = "meta" | 11 | KMETA = "meta" |
19 | 12 | ||
20 | LINUX_VERSION ?= "3.0.32" | 13 | LINUX_VERSION ?= "3.0.32" |
@@ -25,7 +18,7 @@ SRCREV_machine_qemuppc ?= "bd9a3c4c066bd4b9f52b51aaaec9b029a7abe793" | |||
25 | SRCREV_machine_qemux86 ?= "70342faea067476774eb55f4e3098af0bcc48782" | 18 | SRCREV_machine_qemux86 ?= "70342faea067476774eb55f4e3098af0bcc48782" |
26 | SRCREV_machine_qemux86-64 ?= "cba836a545fbeb96f6f2392c3ecbac9d7735fa65" | 19 | SRCREV_machine_qemux86-64 ?= "cba836a545fbeb96f6f2392c3ecbac9d7735fa65" |
27 | SRCREV_machine ?= "bd6ad607c754dea30d91502a237870b4c45e0f1b" | 20 | SRCREV_machine ?= "bd6ad607c754dea30d91502a237870b4c45e0f1b" |
28 | SRCREV_meta ?= "34e0d2b4b4e9778b31f9ea99ca43f0dc71a7ee23" | 21 | SRCREV_meta ?= "b040132c19d70b00fc49f3b7e08c2ed52ac59f92" |
29 | 22 | ||
30 | PR = "r4" | 23 | PR = "r4" |
31 | PV = "${LINUX_VERSION}+git${SRCPV}" | 24 | PV = "${LINUX_VERSION}+git${SRCPV}" |