[PATCH v2 02/13] build: Move BSP_INCLUDES split

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 1 11:49:42 UTC 2022


The goal is to let the build items define as much as possible.
---
 spec/build/bsps/optincludes.yml | 1 +
 wscript                         | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/spec/build/bsps/optincludes.yml b/spec/build/bsps/optincludes.yml
index 0b4a71031c..ea57fe3e05 100644
--- a/spec/build/bsps/optincludes.yml
+++ b/spec/build/bsps/optincludes.yml
@@ -3,6 +3,7 @@ actions:
 - set-value: |
     bsps/include bsps/${ARCH}/include bsps/${ARCH}/${BSP_FAMILY}/include
 - substitute: null
+- split: null
 - env-assign: null
 build-type: option
 copyrights:
diff --git a/wscript b/wscript
index e6abdaa7b5..38910f2816 100755
--- a/wscript
+++ b/wscript
@@ -615,7 +615,7 @@ class BSPItem(Item):
     def prepare_build(self, bld, bic):
         return BuildItemContext(
             bic.includes
-            + bld.env.BSP_INCLUDES.split()
+            + bld.env.BSP_INCLUDES
             + self.substitute(bld, self.data["includes"]),
             self.substitute(bld, self.data["cppflags"]),
             self.substitute(bld, self.data["cflags"]),
-- 
2.35.3



More information about the devel mailing list