diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-kernel/linux/linux-yocto.inc | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-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.inc | 28 |
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 | ||
21 | DEPENDS += "xz-native bc-native" | 21 | DEPENDS += "xz-native bc-native" |
22 | DEPENDS_append_aarch64 = " libgcc" | 22 | DEPENDS:append:aarch64 = " libgcc" |
23 | KERNEL_CC_append_aarch64 = " ${TOOLCHAIN_OPTIONS}" | 23 | KERNEL_CC:append:aarch64 = " ${TOOLCHAIN_OPTIONS}" |
24 | KERNEL_LD_append_aarch64 = " ${TOOLCHAIN_OPTIONS}" | 24 | KERNEL_LD:append:aarch64 = " ${TOOLCHAIN_OPTIONS}" |
25 | 25 | ||
26 | DEPENDS_append_nios2 = " libgcc" | 26 | DEPENDS:append:nios2 = " libgcc" |
27 | KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}" | 27 | KERNEL_CC:append:nios2 = " ${TOOLCHAIN_OPTIONS}" |
28 | KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}" | 28 | KERNEL_LD:append:nios2 = " ${TOOLCHAIN_OPTIONS}" |
29 | 29 | ||
30 | DEPENDS_append_arc = " libgcc" | 30 | DEPENDS:append:arc = " libgcc" |
31 | KERNEL_CC_append_arc = " ${TOOLCHAIN_OPTIONS}" | 31 | KERNEL_CC:append:arc = " ${TOOLCHAIN_OPTIONS}" |
32 | KERNEL_LD_append_arc = " ${TOOLCHAIN_OPTIONS}" | 32 | KERNEL_LD:append:arc = " ${TOOLCHAIN_OPTIONS}" |
33 | 33 | ||
34 | KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" | 34 | KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc" |
35 | 35 | ||
36 | KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" | 36 | KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" |
37 | KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}" | 37 | KERNEL_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 | ||
50 | B = "${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build" | 50 | B = "${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build" |
51 | 51 | ||
52 | do_install_append(){ | 52 | do_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 |
59 | KERNEL_FEATURES_append_qemuall=" features/kernel-sample/kernel-sample.scc" | 59 | KERNEL_FEATURES:append:qemuall=" features/kernel-sample/kernel-sample.scc" |