forked from xuos/xiuos
Ubiquitous\RT_Thread\:add Kconfig file and SConscript file in drivers folder
This commit is contained in:
5
Ubiquitous/RT_Thread/drivers/Kconfig
Normal file
5
Ubiquitous/RT_Thread/drivers/Kconfig
Normal file
@@ -0,0 +1,5 @@
|
||||
menu "More Drivers"
|
||||
|
||||
#source "$RT_Thread_DIR/drivers/rw007/Kconfig"
|
||||
#source "$RT_Thread_DIR/drivers/ov2640/Kconfig"
|
||||
endmenu
|
||||
14
Ubiquitous/RT_Thread/drivers/SConscript
Normal file
14
Ubiquitous/RT_Thread/drivers/SConscript
Normal file
@@ -0,0 +1,14 @@
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
objs = objs + SConscript(os.path.join(path, 'SConscript'))
|
||||
|
||||
Return('objs')
|
||||
Reference in New Issue
Block a user