mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-12 20:24:15 +08:00
Add pcap driver(for win32) in simulator porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2391 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -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')
|
||||
Reference in New Issue
Block a user