You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
418 B
13 lines
418 B
10 months ago
|
# for board compiling
|
||
|
import os
|
||
|
import rtconfig
|
||
|
from building import *
|
||
|
from buildutil import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
BOARD_NAME = GetStringFromConfig(cwd + '/..', 'RT_BOARD_NAME')
|
||
|
objs = SConscript(os.path.join(cwd, BOARD_NAME + '/SConscript'), variant_dir = 'board/' + BOARD_NAME, duplicate = 0)
|
||
|
objs += SConscript(os.path.join(cwd, 'common/SConscript'), variant_dir = 'board/common', duplicate = 0)
|
||
|
|
||
|
Return('objs')
|