summaryrefslogtreecommitdiff
path: root/bsp/nv32f100x/lib/SConscript
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-09-29 10:23:56 +0800
committerbernard <[email protected]>2017-09-29 10:23:56 +0800
commitcccff34fcac04f34233a33e453f2d0ec255bf231 (patch)
treed406036f73296b27f3cb96e77ede98dd7803c61d /bsp/nv32f100x/lib/SConscript
parente9a77b513f0a4b37d539a030592a61b08d03602d (diff)
parent3691b67e83ab57196dfc62606b1be18db76994a7 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'bsp/nv32f100x/lib/SConscript')
-rw-r--r--bsp/nv32f100x/lib/SConscript16
1 files changed, 16 insertions, 0 deletions
diff --git a/bsp/nv32f100x/lib/SConscript b/bsp/nv32f100x/lib/SConscript
new file mode 100644
index 0000000000..9f78108059
--- /dev/null
+++ b/bsp/nv32f100x/lib/SConscript
@@ -0,0 +1,16 @@
+Import('RTT_ROOT')
+Import('rtconfig')
+from building import *
+
+cwd = os.path.join(str(Dir('#')), 'lib')
+src = Glob('./src/*.c')
+
+src += Glob('./src/*.s')
+path = [cwd + '/inc'
+ ]
+
+CPPDEFINES = ['NV32', 'KEIL']
+
+group = DefineGroup('Lib', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
+
+Return('group')