summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-27 11:30:26 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-04 08:29:52 +0200
commit281f39a6009837c287d6311cd6e4c78989bf8dc2 (patch)
treeafc5500fd640b7cb7955cdfd8b8cd835dfdd632a
parentbuild: Add more flags to BuildItemContext (diff)
downloadrtems-281f39a6009837c287d6311cd6e4c78989bf8dc2.tar.bz2
build: Move BSP_INCLUDES split
The goal is to let the build items define as much as possible.
-rw-r--r--spec/build/bsps/optincludes.yml1
-rwxr-xr-xwscript2
2 files changed, 2 insertions, 1 deletions
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"]),