[rtems commit] build: Move BSP_INCLUDES split

Sebastian Huber sebh at rtems.org
Mon Jul 4 06:24:56 UTC 2022


Module:    rtems
Branch:    master
Commit:    281f39a6009837c287d6311cd6e4c78989bf8dc2
Changeset: http://git.rtems.org/rtems/commit/?id=281f39a6009837c287d6311cd6e4c78989bf8dc2

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jun 27 11:30:26 2022 +0200

build: Move BSP_INCLUDES split

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"]),



More information about the vc mailing list