|
@@ -286,8 +286,8 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
|
|
|
|
|
|
# add program path
|
|
# add program path
|
|
env.PrependENVPath('PATH', rtconfig.EXEC_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
|
|
# add library build action
|
|
act = SCons.Action.Action(BuildLibInstallAction, 'Install compiled library... $TARGET')
|
|
act = SCons.Action.Action(BuildLibInstallAction, 'Install compiled library... $TARGET')
|