diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2014-12-18 16:51:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-23 10:18:19 +0000 |
commit | eef1d41751f691158376cd49955b956c28fec2f2 (patch) | |
tree | 1950a93dc92dbc2825b8869dfeb4b728477311f7 /meta/recipes-kernel | |
parent | eba9c1be73a8c1567795b2073fa850537336c7f6 (diff) | |
download | poky-eef1d41751f691158376cd49955b956c28fec2f2.tar.gz |
linux-yocto: Fixup linux-yocto for aarch64
linux-yocto is updated to pass the sysroot path to the compiler when necessary.
linux-yocto_ver.bb are updated to reference the correct linux-yocto branchs and
SRCREVs.
(From OE-Core rev: af67a2938e007e08fd1d082a0932c78deaedb527)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
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.inc | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.14.bb | 4 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.17.bb | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 90189857c6..7416af99f5 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc | |||
@@ -8,6 +8,8 @@ INC_PR = "r4" | |||
8 | 8 | ||
9 | DEPENDS += "xz-native bc-native" | 9 | DEPENDS += "xz-native bc-native" |
10 | DEPENDS_append_aarch64 = " libgcc" | 10 | DEPENDS_append_aarch64 = " libgcc" |
11 | KERNEL_CC_append_aarch64 = " ${TOOLCHAIN_OPTIONS}" | ||
12 | KERNEL_LD_append_aarch64 = " ${TOOLCHAIN_OPTIONS}" | ||
11 | 13 | ||
12 | # A KMACHINE is the mapping of a yocto $MACHINE to what is built | 14 | # A KMACHINE is the mapping of a yocto $MACHINE to what is built |
13 | # by the kernel. This is typically the branch that should be built, | 15 | # by the kernel. This is typically the branch that should be built, |
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.14.bb b/meta/recipes-kernel/linux/linux-yocto_3.14.bb index 706cb7ce9c..5f0a09e973 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.14.bb | |||
@@ -4,6 +4,7 @@ require recipes-kernel/linux/linux-yocto.inc | |||
4 | 4 | ||
5 | # board specific branches | 5 | # board specific branches |
6 | KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs" | 6 | KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs" |
7 | KBRANCH_qemuarm64 ?= "standard/qemuarm64" | ||
7 | KBRANCH_qemumips ?= "standard/mti-malta32" | 8 | KBRANCH_qemumips ?= "standard/mti-malta32" |
8 | KBRANCH_qemuppc ?= "standard/qemuppc" | 9 | KBRANCH_qemuppc ?= "standard/qemuppc" |
9 | KBRANCH_qemux86 ?= "standard/common-pc/base" | 10 | KBRANCH_qemux86 ?= "standard/common-pc/base" |
@@ -11,6 +12,7 @@ KBRANCH_qemux86-64 ?= "standard/common-pc-64/base" | |||
11 | KBRANCH_qemumips64 ?= "standard/mti-malta64" | 12 | KBRANCH_qemumips64 ?= "standard/mti-malta64" |
12 | 13 | ||
13 | SRCREV_machine_qemuarm ?= "6166316d47b859aa38bfecc61f4808828af03937" | 14 | SRCREV_machine_qemuarm ?= "6166316d47b859aa38bfecc61f4808828af03937" |
15 | SRCREV_machine_qemuarm64 ?= "902f34d36102a4b2008b776ecae686f80d307e12" | ||
14 | SRCREV_machine_qemumips ?= "4ececcc09c6550a0896728163907e729d817c2fd" | 16 | SRCREV_machine_qemumips ?= "4ececcc09c6550a0896728163907e729d817c2fd" |
15 | SRCREV_machine_qemuppc ?= "1cc5b09f8bb7f40b289d149d370c62dcc8109501" | 17 | SRCREV_machine_qemuppc ?= "1cc5b09f8bb7f40b289d149d370c62dcc8109501" |
16 | SRCREV_machine_qemux86 ?= "38cd560d5022ed2dbd1ab0dca9642e47c98a0aa1" | 18 | SRCREV_machine_qemux86 ?= "38cd560d5022ed2dbd1ab0dca9642e47c98a0aa1" |
@@ -27,7 +29,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}" | |||
27 | 29 | ||
28 | KMETA = "meta" | 30 | KMETA = "meta" |
29 | 31 | ||
30 | COMPATIBLE_MACHINE = "qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" | 32 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |
31 | 33 | ||
32 | # Functionality flags | 34 | # Functionality flags |
33 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" | 35 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.17.bb b/meta/recipes-kernel/linux/linux-yocto_3.17.bb index 71a82a7223..973d8aaa84 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.17.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.17.bb | |||
@@ -4,6 +4,7 @@ require recipes-kernel/linux/linux-yocto.inc | |||
4 | 4 | ||
5 | # board specific branches | 5 | # board specific branches |
6 | KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs" | 6 | KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs" |
7 | KBRANCH_qemuarm64 ?= "standard/qemuarm64" | ||
7 | KBRANCH_qemumips ?= "standard/mti-malta32" | 8 | KBRANCH_qemumips ?= "standard/mti-malta32" |
8 | KBRANCH_qemuppc ?= "standard/qemuppc" | 9 | KBRANCH_qemuppc ?= "standard/qemuppc" |
9 | KBRANCH_qemux86 ?= "standard/common-pc" | 10 | KBRANCH_qemux86 ?= "standard/common-pc" |
@@ -11,6 +12,7 @@ KBRANCH_qemux86-64 ?= "standard/common-pc-64/base" | |||
11 | KBRANCH_qemumips64 ?= "standard/mti-malta64" | 12 | KBRANCH_qemumips64 ?= "standard/mti-malta64" |
12 | 13 | ||
13 | SRCREV_machine_qemuarm ?= "a1183153c56ace9f9140c73ce730ec181f78dc0f" | 14 | SRCREV_machine_qemuarm ?= "a1183153c56ace9f9140c73ce730ec181f78dc0f" |
15 | SRCREV_machine_qemuarm64 ?= "268b7677421eef003a84f31c6bd0b8ec3acc1e36" | ||
14 | SRCREV_machine_qemumips ?= "18c8db2009f25524a29a5258d041e0442c10817d" | 16 | SRCREV_machine_qemumips ?= "18c8db2009f25524a29a5258d041e0442c10817d" |
15 | SRCREV_machine_qemuppc ?= "6d2bbdac0e6560542fa2252d91eee9ae0f17f9c7" | 17 | SRCREV_machine_qemuppc ?= "6d2bbdac0e6560542fa2252d91eee9ae0f17f9c7" |
16 | SRCREV_machine_qemux86 ?= "5ff54d8fbf74278e9e5074cbba516a14f0915ff7" | 18 | SRCREV_machine_qemux86 ?= "5ff54d8fbf74278e9e5074cbba516a14f0915ff7" |
@@ -27,7 +29,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}" | |||
27 | 29 | ||
28 | KMETA = "meta" | 30 | KMETA = "meta" |
29 | 31 | ||
30 | COMPATIBLE_MACHINE = "qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" | 32 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |
31 | 33 | ||
32 | # Functionality flags | 34 | # Functionality flags |
33 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" | 35 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |