diff options
author | Ross Burton <ross.burton@arm.com> | 2023-12-21 17:01:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-23 08:46:00 +0000 |
commit | 64162b18127cba28e2e13f220c5c792aff97b38b (patch) | |
tree | 5ced15056f2097695d94d63fd6d2f8c370df2979 /meta/conf/bitbake.conf | |
parent | 60ce68180a6b28d093994981c84ff945b41c8f3d (diff) | |
download | poky-64162b18127cba28e2e13f220c5c792aff97b38b.tar.gz |
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>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index b3f1f18a0d..95d4bd95c8 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -896,6 +896,8 @@ OES_BITBAKE_CONF = "1" | |||
896 | ################################################################## | 896 | ################################################################## |
897 | 897 | ||
898 | MACHINE_FEATURES ?= "" | 898 | MACHINE_FEATURES ?= "" |
899 | SDK_MACHINE_FEATURES ?= "" | ||
900 | |||
899 | DISTRO_FEATURES ?= "" | 901 | DISTRO_FEATURES ?= "" |
900 | 902 | ||
901 | DISTRO_EXTRA_RDEPENDS ?= "" | 903 | DISTRO_EXTRA_RDEPENDS ?= "" |