diff --git a/components/external/SConscript b/components/external/SConscript new file mode 100644 index 0000000000..896e5f029f --- /dev/null +++ b/components/external/SConscript @@ -0,0 +1,13 @@ +# for module compiling +import os +Import('RTT_ROOT') + +objs = [] +list = os.listdir(os.path.join(RTT_ROOT, 'components', 'external')) + +for d in list: + path = os.path.join(RTT_ROOT, 'components', 'external', d) + if os.path.isfile(os.path.join(path, 'SConscript')): + objs = objs + SConscript(os.path.join(d, 'SConscript')) + +Return('objs') diff --git a/components/external/ftk/SConscript b/components/external/ftk/SConscript new file mode 100644 index 0000000000..0c125061c6 --- /dev/null +++ b/components/external/ftk/SConscript @@ -0,0 +1,7 @@ +# for module compiling +import os +Import('RTT_ROOT') + +objs = SConscript('ftk/src/os/rt-thread/SConscript') + +Return('objs')