diff --git a/bsp/at91sam9260/SConstruct b/bsp/at91sam9260/SConstruct index 681018554c..7ce3af43b6 100755 --- a/bsp/at91sam9260/SConstruct +++ b/bsp/at91sam9260/SConstruct @@ -34,8 +34,5 @@ if GetDepend('RT_USING_RTGUI'): # libc testsuite objs = objs + SConscript(RTT_ROOT + '/examples/libc/SConscript', variant_dir='build/examples/libc', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/avr32uc3b0/SConstruct b/bsp/avr32uc3b0/SConstruct index c5abee498a..834d66615f 100644 --- a/bsp/avr32uc3b0/SConstruct +++ b/bsp/avr32uc3b0/SConstruct @@ -28,8 +28,5 @@ objs = PrepareBuilding(env, RTT_ROOT) # AVR32 software framework building script objs = objs + SConscript(RTT_ROOT + '/bsp/avr32uc3b0/SOFTWARE_FRAMEWORK/SConscript', variant_dir='bsp/SOFTWARE_FRAMEWORK', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) \ No newline at end of file +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/dev3210/SConstruct b/bsp/dev3210/SConstruct index 8246fe46c9..c885c34448 100644 --- a/bsp/dev3210/SConstruct +++ b/bsp/dev3210/SConstruct @@ -25,8 +25,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/efm32/SConstruct b/bsp/efm32/SConstruct index 22b0a34a49..4849771bf0 100644 --- a/bsp/efm32/SConstruct +++ b/bsp/efm32/SConstruct @@ -31,8 +31,5 @@ objs = objs + SConscript(RTT_ROOT + '/bsp/efm32/EFM32GG_DK3750/SConscript', vari objs = objs + SConscript(RTT_ROOT + '/bsp/efm32/graphics/SConscript', variant_dir='build/graphics', duplicate=0) objs = objs + SConscript(RTT_ROOT + '/bsp/efm32/Libraries/SConscript', variant_dir='build/Libraries', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/jz47xx/SConstruct b/bsp/jz47xx/SConstruct index 09eeb0944a..ca6bdbb5d2 100644 --- a/bsp/jz47xx/SConstruct +++ b/bsp/jz47xx/SConstruct @@ -25,8 +25,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/lm3s8962/SConstruct b/bsp/lm3s8962/SConstruct index efef1e77ba..3542c5c40c 100644 --- a/bsp/lm3s8962/SConstruct +++ b/bsp/lm3s8962/SConstruct @@ -25,7 +25,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/lm3s9b9x/SConstruct b/bsp/lm3s9b9x/SConstruct index 037fda4608..3542c5c40c 100644 --- a/bsp/lm3s9b9x/SConstruct +++ b/bsp/lm3s9b9x/SConstruct @@ -25,8 +25,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/lm4f232/SConstruct b/bsp/lm4f232/SConstruct index 340e555201..16877dd5b4 100644 --- a/bsp/lm4f232/SConstruct +++ b/bsp/lm4f232/SConstruct @@ -25,8 +25,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/lpc178x/SConstruct b/bsp/lpc178x/SConstruct index 71dd05e508..8503d8053c 100644 --- a/bsp/lpc178x/SConstruct +++ b/bsp/lpc178x/SConstruct @@ -28,8 +28,5 @@ objs = PrepareBuilding(env, RTT_ROOT) if GetDepend('RT_USING_RTGUI'): objs = objs + SConscript(RTT_ROOT + '/examples/gui/SConscript', variant_dir='build/examples/gui', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/lpc2148/SConstruct b/bsp/lpc2148/SConstruct index 68d18e4642..e1d4c19aac 100644 --- a/bsp/lpc2148/SConstruct +++ b/bsp/lpc2148/SConstruct @@ -25,8 +25,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/lpc2478/SConstruct b/bsp/lpc2478/SConstruct index b80592ba29..b209a1a2ec 100644 --- a/bsp/lpc2478/SConstruct +++ b/bsp/lpc2478/SConstruct @@ -25,8 +25,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/ls1bdev/SConstruct b/bsp/ls1bdev/SConstruct index d578392b1e..17e1d15db3 100644 --- a/bsp/ls1bdev/SConstruct +++ b/bsp/ls1bdev/SConstruct @@ -28,8 +28,5 @@ objs = PrepareBuilding(env, RTT_ROOT) if GetDepend('RT_USING_RTGUI'): objs = objs + SConscript(RTT_ROOT + '/examples/gui/SConscript', variant_dir='build/examples/gui', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/m16c62p/SConstruct b/bsp/m16c62p/SConstruct index 12642dd58d..02b05a150c 100644 --- a/bsp/m16c62p/SConstruct +++ b/bsp/m16c62p/SConstruct @@ -39,8 +39,5 @@ if GetDepend('RT_USING_RTGUI'): # libc testsuite # objs = objs + SConscript(RTT_ROOT + '/examples/libc/SConscript', variant_dir='build/examples/libc', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/mb9bf500r/SConstruct b/bsp/mb9bf500r/SConstruct index da3cfa04c5..1deefb8ffd 100644 --- a/bsp/mb9bf500r/SConstruct +++ b/bsp/mb9bf500r/SConstruct @@ -32,8 +32,5 @@ objs = PrepareBuilding(env, RTT_ROOT) objs = objs + SConscript('CMSIS/SConscript', variant_dir='build/bsp/CMSIS', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/mb9bf506r/SConstruct b/bsp/mb9bf506r/SConstruct index d3d392a19a..8c58439102 100644 --- a/bsp/mb9bf506r/SConstruct +++ b/bsp/mb9bf506r/SConstruct @@ -30,8 +30,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/mini2440/SConstruct b/bsp/mini2440/SConstruct index 0ae74732eb..76e219bff3 100644 --- a/bsp/mini2440/SConstruct +++ b/bsp/mini2440/SConstruct @@ -32,8 +32,5 @@ if GetDepend('RT_USING_RTGUI'): # libc testsuite # objs = objs + SConscript(RTT_ROOT + '/examples/libc/SConscript', variant_dir='build/examples/libc', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/mini4020/SConstruct b/bsp/mini4020/SConstruct index ab4953a152..c40ec891fa 100644 --- a/bsp/mini4020/SConstruct +++ b/bsp/mini4020/SConstruct @@ -25,8 +25,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/sam7x/SConstruct b/bsp/sam7x/SConstruct index 512ef55d50..83714f5ad8 100644 --- a/bsp/sam7x/SConstruct +++ b/bsp/sam7x/SConstruct @@ -30,8 +30,5 @@ objs = PrepareBuilding(env, RTT_ROOT) # kernel testsuite #objs = objs + SConscript(RTT_ROOT + '/examples/kernel/SConscript', variant_dir='build/examples/kernel', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/stm32f0x/SConstruct b/bsp/stm32f0x/SConstruct index 5524a00e6f..5813f6442c 100644 --- a/bsp/stm32f0x/SConstruct +++ b/bsp/stm32f0x/SConstruct @@ -30,8 +30,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/stm32f10x/SConstruct b/bsp/stm32f10x/SConstruct index 37d86a7b5f..54df76872b 100644 --- a/bsp/stm32f10x/SConstruct +++ b/bsp/stm32f10x/SConstruct @@ -33,8 +33,5 @@ objs = PrepareBuilding(env, RTT_ROOT) # STM32 firemare library building script objs = objs + SConscript( GetCurrentDir() + '/Libraries/SConscript', variant_dir='build/bsp/Libraries', duplicate=0) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/stm32f20x/SConstruct b/bsp/stm32f20x/SConstruct index 820f23541b..ae13ebd5bf 100644 --- a/bsp/stm32f20x/SConstruct +++ b/bsp/stm32f20x/SConstruct @@ -30,8 +30,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/stm32f40x/SConstruct b/bsp/stm32f40x/SConstruct index d479caa4c0..a58e07aa4b 100644 --- a/bsp/stm32f40x/SConstruct +++ b/bsp/stm32f40x/SConstruct @@ -30,8 +30,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/upd70f3454/SConstruct b/bsp/upd70f3454/SConstruct index 66a6dcd1c5..589cdbeb80 100644 --- a/bsp/upd70f3454/SConstruct +++ b/bsp/upd70f3454/SConstruct @@ -30,8 +30,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/x86/SConstruct b/bsp/x86/SConstruct index 8246fe46c9..c885c34448 100644 --- a/bsp/x86/SConstruct +++ b/bsp/x86/SConstruct @@ -25,8 +25,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs) diff --git a/bsp/xplorer4330/m4/SConstruct b/bsp/xplorer4330/m4/SConstruct index d3abfc5ff1..1554677f62 100644 --- a/bsp/xplorer4330/m4/SConstruct +++ b/bsp/xplorer4330/m4/SConstruct @@ -30,8 +30,5 @@ Export('rtconfig') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -# build program -env.Program(TARGET, objs) - -# end building -EndBuilding(TARGET) +# make a building +DoBuilding(TARGET, objs)