summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-yocto.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-kernel/linux/linux-yocto.inc
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto.inc')
-rw-r--r--meta/recipes-kernel/linux/linux-yocto.inc28
1 files changed, 14 insertions, 14 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc
index eb3081ee31..331727d62c 100644
--- a/meta/recipes-kernel/linux/linux-yocto.inc
+++ b/meta/recipes-kernel/linux/linux-yocto.inc
@@ -19,22 +19,22 @@ python () {
19} 19}
20 20
21DEPENDS += "xz-native bc-native" 21DEPENDS += "xz-native bc-native"
22DEPENDS_append_aarch64 = " libgcc" 22DEPENDS:append:aarch64 = " libgcc"
23KERNEL_CC_append_aarch64 = " ${TOOLCHAIN_OPTIONS}" 23KERNEL_CC:append:aarch64 = " ${TOOLCHAIN_OPTIONS}"
24KERNEL_LD_append_aarch64 = " ${TOOLCHAIN_OPTIONS}" 24KERNEL_LD:append:aarch64 = " ${TOOLCHAIN_OPTIONS}"
25 25
26DEPENDS_append_nios2 = " libgcc" 26DEPENDS:append:nios2 = " libgcc"
27KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}" 27KERNEL_CC:append:nios2 = " ${TOOLCHAIN_OPTIONS}"
28KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}" 28KERNEL_LD:append:nios2 = " ${TOOLCHAIN_OPTIONS}"
29 29
30DEPENDS_append_arc = " libgcc" 30DEPENDS:append:arc = " libgcc"
31KERNEL_CC_append_arc = " ${TOOLCHAIN_OPTIONS}" 31KERNEL_CC:append:arc = " ${TOOLCHAIN_OPTIONS}"
32KERNEL_LD_append_arc = " ${TOOLCHAIN_OPTIONS}" 32KERNEL_LD:append:arc = " ${TOOLCHAIN_OPTIONS}"
33 33
34KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" 34KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc"
35 35
36KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" 36KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}"
37KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}" 37KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}"
38 38
39# A KMACHINE is the mapping of a yocto $MACHINE to what is built 39# A KMACHINE is the mapping of a yocto $MACHINE to what is built
40# by the kernel. This is typically the branch that should be built, 40# by the kernel. This is typically the branch that should be built,
@@ -49,11 +49,11 @@ inherit kernel-yocto
49 49
50B = "${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build" 50B = "${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build"
51 51
52do_install_append(){ 52do_install:append(){
53 if [ -n "${KMETA}" ]; then 53 if [ -n "${KMETA}" ]; then
54 rm -rf ${STAGING_KERNEL_DIR}/${KMETA} 54 rm -rf ${STAGING_KERNEL_DIR}/${KMETA}
55 fi 55 fi
56} 56}
57 57
58# enable kernel-sample for oeqa/runtime/cases's ksample.py test 58# enable kernel-sample for oeqa/runtime/cases's ksample.py test
59KERNEL_FEATURES_append_qemuall=" features/kernel-sample/kernel-sample.scc" 59KERNEL_FEATURES:append:qemuall=" features/kernel-sample/kernel-sample.scc"