From 8bdf993bfc38f9b652a7af60cb071c708ad7dea6 Mon Sep 17 00:00:00 2001 From: bernard Date: Fri, 13 Oct 2017 12:44:54 +0800 Subject: [libc] Build correct SConscript file. --- components/libc/compilers/SConscript | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 components/libc/compilers/SConscript (limited to 'components/libc/compilers/SConscript') diff --git a/components/libc/compilers/SConscript b/components/libc/compilers/SConscript new file mode 100644 index 0000000000..4c815c49b8 --- /dev/null +++ b/components/libc/compilers/SConscript @@ -0,0 +1,15 @@ +# RT-Thread building script for bridge + +import os +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(d, 'SConscript')) + +Return('objs') -- cgit v1.3.1