Browse Source

[tools] Add BSP path into Kernel Group.

Bernard Xiong 6 năm trước cách đây
mục cha
commit
1e78259545
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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')