diff options
| author | [email protected] <[email protected]> | 2012-11-04 16:29:36 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-04 16:29:36 +0000 |
| commit | 67f60b770c780700ca969a60ebabf87edd16e58b (patch) | |
| tree | 67a96302831e4abf2d2a2ed9abed5defaa7bddc8 /bsp/simulator/pcap/SConscript | |
| parent | eda62844c122322460b3fbbcb03d471d4746df46 (diff) | |
Add pcap driver(for win32) in simulator porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2391 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/simulator/pcap/SConscript')
| -rw-r--r-- | bsp/simulator/pcap/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bsp/simulator/pcap/SConscript b/bsp/simulator/pcap/SConscript new file mode 100644 index 0000000000..2e5ad4fdcc --- /dev/null +++ b/bsp/simulator/pcap/SConscript @@ -0,0 +1,13 @@ +from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+
+CPPPATH = [cwd + '/Include']
+LIBPATH = [cwd + '/Lib']
+CPPDEFINES = ['WIN32']
+LIBS = ['wpcap']
+
+group = DefineGroup('Pcap', src, depend = ['RT_USING_LWIP'], CPPPATH = CPPPATH, LIBPATH=LIBPATH, CPPDEFINES=CPPDEFINES, LIBS=LIBS)
+
+Return('group')
|
