diff options
Diffstat (limited to 'components/drivers/fdt/SConscript')
| -rw-r--r-- | components/drivers/fdt/SConscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/components/drivers/fdt/SConscript b/components/drivers/fdt/SConscript new file mode 100644 index 0000000000..d916b2dfbc --- /dev/null +++ b/components/drivers/fdt/SConscript @@ -0,0 +1,16 @@ +# RT-Thread building script for bridge + +import os +from building import * + +cwd = GetCurrentDir() +objs = [] +list = os.listdir(cwd) + +if GetDepend('RT_USING_FDT'): + 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(d, 'SConscript')) + +Return('objs') |
