summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-01-05 07:39:36 +0800
committerBernard Xiong <[email protected]>2019-01-05 07:39:36 +0800
commit1e78259545129e3cf3263edb6f6c490e2aa23003 (patch)
treeaaee8ec47e5e855cdfce811a222c1cc3b713400d /tools
parent366e28f47682f76b3f6df85c3dcbd9785a01fa39 (diff)
[tools] Add BSP path into Kernel Group.
Diffstat (limited to 'tools')
-rw-r--r--tools/building.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/building.py b/tools/building.py
index 57e58b9ab0..ef1cb3da66 100644
--- a/tools/building.py
+++ b/tools/building.py
@@ -286,8 +286,8 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
# add program path
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
- # add rtconfig.h path
- env.Append(CPPPATH = [str(Dir('#').abspath)])
+ # add rtconfig.h/BSP path into Kernel group
+ DefineGroup("Kernel", [], [], CPPPATH=[str(Dir('#').abspath)])
# add library build action
act = SCons.Action.Action(BuildLibInstallAction, 'Install compiled library... $TARGET')