diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-09-11 15:04:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-12 15:13:45 +0100 |
commit | 0359330bdd9ab0a98a07531fee77a79c69ca8b70 (patch) | |
tree | bca8ac2e0b55be98f2982c4d57a046cfe3fbe58c /meta/recipes-kernel | |
parent | e3aa2e8a3d8d0aca0427af9aeab88c37b24f0034 (diff) | |
download | poky-0359330bdd9ab0a98a07531fee77a79c69ca8b70.tar.gz |
linux-yocto/3.4: add x32 configuration fragment
When x32 is the tuning for a x86 MACHINE, the kernel should also have
CONFIG_X86_X32=y. This adds a x32 fragment that can be used to trigger
the right ABI.
The commit also contains a check for mx32 in TUNE_FEATURES, and if
present, the new fragment will be appended to KERNEL_FEATURES and
trigger the support in the kernel.
cc: Saul Wold <sgw@linux.intel.com>
(From OE-Core rev: bf689c60caa905eb8866101b9e99dd4ae246a2ca)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb | 3 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.4.bb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb index 4fd3845d5e..bbde730f77 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb | |||
@@ -10,7 +10,7 @@ KMETA = "meta" | |||
10 | 10 | ||
11 | SRCREV_machine ?= "a35693b1287c0e50cdca33a1b95af0ff48b43cd0" | 11 | SRCREV_machine ?= "a35693b1287c0e50cdca33a1b95af0ff48b43cd0" |
12 | SRCREV_machine_qemuppc ?= "85a1190530cb5749f5f831670976b163438dc301" | 12 | SRCREV_machine_qemuppc ?= "85a1190530cb5749f5f831670976b163438dc301" |
13 | SRCREV_meta ?= "d9d5fc63d8b38705036e946ea77d971d95de11ad" | 13 | SRCREV_meta ?= "e0374ce012e7e6fc8e5bb8b957addb0478950898" |
14 | 14 | ||
15 | PR = "${INC_PR}.0" | 15 | PR = "${INC_PR}.0" |
16 | PV = "${LINUX_VERSION}+git${SRCPV}" | 16 | PV = "${LINUX_VERSION}+git${SRCPV}" |
@@ -27,3 +27,4 @@ KERNEL_FEATURES_append = " features/netfilter" | |||
27 | KERNEL_FEATURES_append = " features/taskstats" | 27 | KERNEL_FEATURES_append = " features/taskstats" |
28 | KERNEL_FEATURES_append_qemux86 = " cfg/sound" | 28 | KERNEL_FEATURES_append_qemux86 = " cfg/sound" |
29 | KERNEL_FEATURES_append_qemux86-64 = " cfg/sound" | 29 | KERNEL_FEATURES_append_qemux86-64 = " cfg/sound" |
30 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32", "" ,d)}" | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.4.bb b/meta/recipes-kernel/linux/linux-yocto_3.4.bb index 59ad4b27be..f4f23182dd 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.4.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.4.bb | |||
@@ -9,7 +9,7 @@ SRCREV_machine_qemuppc ?= "b9a720ca38d298ed457f37d099c85771f9164b19" | |||
9 | SRCREV_machine_qemux86 ?= "46d8c757b3be1953f30d6745505d24436e2d6844" | 9 | SRCREV_machine_qemux86 ?= "46d8c757b3be1953f30d6745505d24436e2d6844" |
10 | SRCREV_machine_qemux86-64 ?= "46d8c757b3be1953f30d6745505d24436e2d6844" | 10 | SRCREV_machine_qemux86-64 ?= "46d8c757b3be1953f30d6745505d24436e2d6844" |
11 | SRCREV_machine ?= "46d8c757b3be1953f30d6745505d24436e2d6844" | 11 | SRCREV_machine ?= "46d8c757b3be1953f30d6745505d24436e2d6844" |
12 | SRCREV_meta ?= "a82db2f0fc3ceebf3cb47e9dd05e4856ff9966ab" | 12 | SRCREV_meta ?= "e0374ce012e7e6fc8e5bb8b957addb0478950898" |
13 | 13 | ||
14 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" | 14 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" |
15 | 15 | ||
@@ -27,3 +27,4 @@ KERNEL_REVISION_CHECKING="" | |||
27 | KERNEL_FEATURES_append = " features/netfilter" | 27 | KERNEL_FEATURES_append = " features/netfilter" |
28 | KERNEL_FEATURES_append_qemux86=" cfg/sound" | 28 | KERNEL_FEATURES_append_qemux86=" cfg/sound" |
29 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound" | 29 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound" |
30 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32", "" ,d)}" | ||