diff --git a/components/libc/SConscript b/components/libc/SConscript new file mode 100644 index 0000000000000000000000000000000000000000..e8c7d1a6b5769e9ca572a2d9f8cc07d040484ec3 --- /dev/null +++ b/components/libc/SConscript @@ -0,0 +1,13 @@ +# for libc component +import os +Import('RTT_ROOT') + +objs = [] +list = os.listdir(os.path.join(RTT_ROOT, 'components', 'libc')) + +for d in list: + path = os.path.join(RTT_ROOT, 'components', 'libc', d) + if os.path.isfile(os.path.join(path, 'SConscript')): + objs = objs + SConscript(os.path.join(d, 'SConscript')) + +Return('objs') diff --git a/components/net/SConscript b/components/net/SConscript new file mode 100644 index 0000000000000000000000000000000000000000..2e3bfdd60313d33e777a34387e8cefa36ddf9a32 --- /dev/null +++ b/components/net/SConscript @@ -0,0 +1,13 @@ +# for libc component +import os +Import('RTT_ROOT') + +objs = [] +list = os.listdir(os.path.join(RTT_ROOT, 'components', 'net')) + +for d in list: + path = os.path.join(RTT_ROOT, 'components', 'net', d) + if os.path.isfile(os.path.join(path, 'SConscript')): + objs = objs + SConscript(os.path.join(d, 'SConscript')) + +Return('objs')