[OE-core] [PATCH] native.bbclass: clear MACHINE_FEATURES

Mike Looijmans mike.looijmans at topic.nl
Thu Mar 23 09:06:58 UTC 2017


On 22-03-17 23:47, Andre McCurdy wrote:
> 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.

Maybe this would work:

MACHINE_FEATURES_BACKFILL_CONSIDERED = "${MACHINE_FEATURES_BACKFILL}"

>
> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
> ---
>  meta/classes/native.bbclass | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
> index 6becf82..1919fbc 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:"
>
>



Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail








More information about the Openembedded-core mailing list