浏览代码

[tools] Add BSP path into Kernel Group.

Bernard Xiong 6 年之前
父节点
当前提交
1e78259545
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tools/building.py

+ 2 - 2
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')