diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-09 14:23:40 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-11 14:00:36 +0000 |
commit | c6f7c7989be89c8fa1edc036dad053e8e0acf4ad (patch) | |
tree | 8390df83582044c717d431d0be50769aaf19f69a /meta/recipes-kernel/linux | |
parent | b7735e8090f5b446bdc16903b72f909d23650433 (diff) | |
download | poky-c6f7c7989be89c8fa1edc036dad053e8e0acf4ad.tar.gz |
linux-yocto/qemuarmv5: fix configuration warning
Integrating the following commit(s) to linux-yocto:
8c8f6a791be qemuarm: inhibit optimize for size
To fix the following warning:
[NOTE]: 'CONFIG_CC_OPTIMIZE_FOR_SIZE' last val (y) and .config val (n) do not match
[INFO]: CONFIG_CC_OPTIMIZE_FOR_SIZE : n ## .config: 159 :configs/v5.10/standard/ktypes/standard/standard.cfg (n) configs/v5.10/standard/arch/arm/arm.cfg (y)
[INFO]: raw config text:
config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size (-Os)"
depends on <choice>
help
Choosing this option will pass "-Os" to your compiler resulting
in a smaller kernel.
Config 'CC_OPTIMIZE_FOR_SIZE' has the following Direct dependencies (CC_OPTIMIZE_FOR_SIZE=y):
<choice>
Parent dependencies are:
choice [y]
We explicitly enable optimize_for_performance in this BSP, but the
arch default is optimize_for_size. These are choice options in the
kernel, so they both can't be enabled.
Unless we tell the audit that we don't want optimize_for_size, it
will notice that fact, and warn that it is not set in the final .config.
[YOCTO #14285]
(From OE-Core rev: 07c09631d8ccb7701a3cf2d2b51c90d7ea8cfa37)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_5.10.bb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb index 10414a3ea3..4a4aa2b9d4 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb | |||
@@ -12,7 +12,7 @@ python () { | |||
12 | } | 12 | } |
13 | 13 | ||
14 | SRCREV_machine ?= "36889a571fe57fe3561cc23f842b92e4ea9ca264" | 14 | SRCREV_machine ?= "36889a571fe57fe3561cc23f842b92e4ea9ca264" |
15 | SRCREV_meta ?= "544eb6300c29e7f35551927d63b557f3532f46bf" | 15 | SRCREV_meta ?= "8c8f6a791bed6e8f675236946e805a7fc489e382" |
16 | 16 | ||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ |
18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.10;destsuffix=${KMETA}" | 18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.10;destsuffix=${KMETA}" |
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb index 6f98e3b546..8bb1037476 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb | |||
@@ -17,7 +17,7 @@ KCONF_BSP_AUDIT_LEVEL = "2" | |||
17 | 17 | ||
18 | SRCREV_machine_qemuarm ?= "9d6d37cfe365ebd5b530f9c43c1ace924343bb15" | 18 | SRCREV_machine_qemuarm ?= "9d6d37cfe365ebd5b530f9c43c1ace924343bb15" |
19 | SRCREV_machine ?= "8c516ced69f41563404ada0bea315a55bcf1df6f" | 19 | SRCREV_machine ?= "8c516ced69f41563404ada0bea315a55bcf1df6f" |
20 | SRCREV_meta ?= "544eb6300c29e7f35551927d63b557f3532f46bf" | 20 | SRCREV_meta ?= "8c8f6a791bed6e8f675236946e805a7fc489e382" |
21 | 21 | ||
22 | PV = "${LINUX_VERSION}+git${SRCPV}" | 22 | PV = "${LINUX_VERSION}+git${SRCPV}" |
23 | 23 | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.10.bb b/meta/recipes-kernel/linux/linux-yocto_5.10.bb index 23fe334016..03d7c6a3de 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.10.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.10.bb | |||
@@ -23,7 +23,7 @@ SRCREV_machine_qemux86 ?= "8c516ced69f41563404ada0bea315a55bcf1df6f" | |||
23 | SRCREV_machine_qemux86-64 ?= "8c516ced69f41563404ada0bea315a55bcf1df6f" | 23 | SRCREV_machine_qemux86-64 ?= "8c516ced69f41563404ada0bea315a55bcf1df6f" |
24 | SRCREV_machine_qemumips64 ?= "f1c01716513524065f0f231c6e6502cd9a3ecb53" | 24 | SRCREV_machine_qemumips64 ?= "f1c01716513524065f0f231c6e6502cd9a3ecb53" |
25 | SRCREV_machine ?= "8c516ced69f41563404ada0bea315a55bcf1df6f" | 25 | SRCREV_machine ?= "8c516ced69f41563404ada0bea315a55bcf1df6f" |
26 | SRCREV_meta ?= "544eb6300c29e7f35551927d63b557f3532f46bf" | 26 | SRCREV_meta ?= "8c8f6a791bed6e8f675236946e805a7fc489e382" |
27 | 27 | ||
28 | # remap qemuarm to qemuarma15 for the 5.8 kernel | 28 | # remap qemuarm to qemuarma15 for the 5.8 kernel |
29 | # KMACHINE_qemuarm ?= "qemuarma15" | 29 | # KMACHINE_qemuarm ?= "qemuarma15" |