diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-06-27 11:30:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-04 08:29:52 +0200 |
commit | 281f39a6009837c287d6311cd6e4c78989bf8dc2 (patch) | |
tree | afc5500fd640b7cb7955cdfd8b8cd835dfdd632a | |
parent | build: Add more flags to BuildItemContext (diff) | |
download | rtems-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.yml | 1 | ||||
-rwxr-xr-x | wscript | 2 |
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: @@ -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"]), |