summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2012-09-11 15:04:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-12 15:13:45 +0100
commit0359330bdd9ab0a98a07531fee77a79c69ca8b70 (patch)
treebca8ac2e0b55be98f2982c4d57a046cfe3fbe58c /meta/recipes-kernel
parente3aa2e8a3d8d0aca0427af9aeab88c37b24f0034 (diff)
downloadpoky-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.bb3
-rw-r--r--meta/recipes-kernel/linux/linux-yocto_3.4.bb3
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
11SRCREV_machine ?= "a35693b1287c0e50cdca33a1b95af0ff48b43cd0" 11SRCREV_machine ?= "a35693b1287c0e50cdca33a1b95af0ff48b43cd0"
12SRCREV_machine_qemuppc ?= "85a1190530cb5749f5f831670976b163438dc301" 12SRCREV_machine_qemuppc ?= "85a1190530cb5749f5f831670976b163438dc301"
13SRCREV_meta ?= "d9d5fc63d8b38705036e946ea77d971d95de11ad" 13SRCREV_meta ?= "e0374ce012e7e6fc8e5bb8b957addb0478950898"
14 14
15PR = "${INC_PR}.0" 15PR = "${INC_PR}.0"
16PV = "${LINUX_VERSION}+git${SRCPV}" 16PV = "${LINUX_VERSION}+git${SRCPV}"
@@ -27,3 +27,4 @@ KERNEL_FEATURES_append = " features/netfilter"
27KERNEL_FEATURES_append = " features/taskstats" 27KERNEL_FEATURES_append = " features/taskstats"
28KERNEL_FEATURES_append_qemux86 = " cfg/sound" 28KERNEL_FEATURES_append_qemux86 = " cfg/sound"
29KERNEL_FEATURES_append_qemux86-64 = " cfg/sound" 29KERNEL_FEATURES_append_qemux86-64 = " cfg/sound"
30KERNEL_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"
9SRCREV_machine_qemux86 ?= "46d8c757b3be1953f30d6745505d24436e2d6844" 9SRCREV_machine_qemux86 ?= "46d8c757b3be1953f30d6745505d24436e2d6844"
10SRCREV_machine_qemux86-64 ?= "46d8c757b3be1953f30d6745505d24436e2d6844" 10SRCREV_machine_qemux86-64 ?= "46d8c757b3be1953f30d6745505d24436e2d6844"
11SRCREV_machine ?= "46d8c757b3be1953f30d6745505d24436e2d6844" 11SRCREV_machine ?= "46d8c757b3be1953f30d6745505d24436e2d6844"
12SRCREV_meta ?= "a82db2f0fc3ceebf3cb47e9dd05e4856ff9966ab" 12SRCREV_meta ?= "e0374ce012e7e6fc8e5bb8b957addb0478950898"
13 13
14SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" 14SRC_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=""
27KERNEL_FEATURES_append = " features/netfilter" 27KERNEL_FEATURES_append = " features/netfilter"
28KERNEL_FEATURES_append_qemux86=" cfg/sound" 28KERNEL_FEATURES_append_qemux86=" cfg/sound"
29KERNEL_FEATURES_append_qemux86-64=" cfg/sound" 29KERNEL_FEATURES_append_qemux86-64=" cfg/sound"
30KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32", "" ,d)}"