mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
nativesdk: don't unset MACHINE_FEATURES, let machine-sdk/ set it
There is actually a use for nativesdk MACHINE_FEATURES; for example qemu-usermode being supported, as this is needed to build profile-guided optimised code. We shouldn't use the target MACHINE_FEATURES for this because the target and the SDK can be entirely different, so instead set the MACHINE_FEATURES in nativesdk.bbclass to SDK_MACHINE_FEATURES (which defaults to "") and let the conf/machine-sdk/*.conf files set that as appropriate. (From OE-Core rev: 14571764b7e046507f81bbe589a9f42c5b16665a) Signed-off-by: Ross Burton <ross.burton@arm.com> Link: https://lore.kernel.org/r/20231221170159.1995650-2-ross.burton@arm.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
60ce68180a
commit
64162b1812
@@ -16,7 +16,7 @@ LIBCOVERRIDE = ":${NATIVESDKLIBC}"
|
||||
CLASSOVERRIDE = "class-nativesdk"
|
||||
MACHINEOVERRIDES = ""
|
||||
|
||||
MACHINE_FEATURES = ""
|
||||
MACHINE_FEATURES = "${SDK_MACHINE_FEATURES}"
|
||||
DISTRO_FEATURES_BACKFILL = ""
|
||||
MACHINE_FEATURES_BACKFILL = ""
|
||||
|
||||
|
||||
@@ -896,6 +896,8 @@ OES_BITBAKE_CONF = "1"
|
||||
##################################################################
|
||||
|
||||
MACHINE_FEATURES ?= ""
|
||||
SDK_MACHINE_FEATURES ?= ""
|
||||
|
||||
DISTRO_FEATURES ?= ""
|
||||
|
||||
DISTRO_EXTRA_RDEPENDS ?= ""
|
||||
|
||||
Reference in New Issue
Block a user