zephyr.bbclass: Remove need for MACHINEOVERRIDES for ZEPHYR_MODULES

This commit removes the need for calling out ZEPHYR_MODULES via
MACHINEOVERRIDES. It uses west list to figure out what ZEPHYR_MODULES
are available and attaches them to -DZEPHYR_MODULES. Additional out of
tree modules may be added via ZEPHYR_EXTRA_MODULES.

Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
Eilís Ní Fhlannagáin
2022-01-19 15:29:54 +00:00
committed by Naveen Saini
parent de73bdbaba
commit 4ea9140deb
5 changed files with 49 additions and 13 deletions

View File

@@ -5,8 +5,6 @@
require conf/machine/include/tune-cortexm4.inc
MACHINEOVERRIDES =. "nordic:"
TUNE_FEATURES = "armv7m cortexm4"
# Target type for this machine used by Pyocd

View File

@@ -5,7 +5,4 @@
require conf/machine/include/tune-cortexm4.inc
# Include OpenAMP for communication with Cortex-A7 core of the SoC
MACHINEOVERRIDES =. "stm32:openamp:"
TUNE_FEATURES = "armv7m cortexm4"