Merge pull request #999 from TanekLiang/module_scons

[example] fix bsp_directory parameter missing
This commit is contained in:
Bernard Xiong 2017-11-15 16:06:50 +08:00 committed by GitHub
commit 7cdc5c77b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ env = Environment(tools = ['mingw'],
])
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
PrepareModuleBuilding(env, RTT_ROOT)
PrepareModuleBuilding(env, RTT_ROOT, RTT_ROOT + '/bsp/' + rtconfig.BSP)
dir = app + '/build/' + rtconfig.BSP
objs = SConscript(app + '/Sconscript', variant_dir=dir, duplicate=0)