summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-03-22 15:47:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-23 16:57:26 +0000
commit96c20c9df714cdf3f0e9461ec566c4f5d3bdb5f1 (patch)
tree311c727254de53f6b64902c7ca6a6b5dbe3979b8 /meta/classes
parent1e46220bb3901476266846447ff40533c9bffa1d (diff)
downloadopenembedded-core-96c20c9df714cdf3f0e9461ec566c4f5d3bdb5f1.tar.gz
openembedded-core-96c20c9df714cdf3f0e9461ec566c4f5d3bdb5f1.tar.bz2
openembedded-core-96c20c9df714cdf3f0e9461ec566c4f5d3bdb5f1.zip
native.bbclass: clear MACHINE_FEATURES
Try to avoid native recipes accidentally being dependent on MACHINE_FEATURES. This simple change doesn't prevent MACHINE_FEATURES set via MACHINE_FEATURES_BACKFILL sneaking through, but it's better than nothing. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/native.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 6becf8233f..1919fbcdbd 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -112,6 +112,7 @@ PKG_CONFIG_SYSTEM_INCLUDE_PATH[unexport] = "1"
LIBCOVERRIDE = ""
CLASSOVERRIDE = "class-native"
MACHINEOVERRIDES = ""
+MACHINE_FEATURES = ""
PATH_prepend = "${COREBASE}/scripts/native-intercept:"