Steven-LiuSF 8b60b58b51
[bsp][rockchip][rk2108]: add rk2108 base support. (#6040)
* [bsp][rockchip][rk2108]: add rk2108 base support.

Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
2022-06-09 14:27:30 +08:00

13 lines
418 B
Python

# 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')