From 83c4a17c6eb1da6bf2a3447675ccab6a155b6a1b Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Fri, 15 Oct 2010 23:53:22 +0000 Subject: [PATCH] add init loongson soc3210 porting. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1013 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/dev3210/SConscript | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 bsp/dev3210/SConscript diff --git a/bsp/dev3210/SConscript b/bsp/dev3210/SConscript new file mode 100644 index 0000000000..350f0e71a7 --- /dev/null +++ b/bsp/dev3210/SConscript @@ -0,0 +1,29 @@ +Import('env') +Import('projects') +Import('RTT_ROOT') +Import('rtconfig') + +# group definitions +group = {} +group['name'] = 'Startup' +group['CCFLAGS'] = '' +group['CPPPATH'] = [RTT_ROOT + '/bsp/dev3210'] +group['CPPDEFINES'] = [] +group['LINKFLAGS'] = '' + +src_bsp = ['application.c', 'startup.c', 'board.c'] +src_drv = ['uart.c', 'lnn800x480.c'] + +group['src'] = File(src_bsp + src_drv) + +# add group to project list +projects.append(group) + +env.Append(CCFLAGS = group['CCFLAGS']) +env.Append(CPPPATH = group['CPPPATH']) +env.Append(CPPDEFINES = group['CPPDEFINES']) +env.Append(LINKFLAGS = group['LINKFLAGS']) + +obj = env.Object(group['src']) + +Return('obj')