mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 00:48:32 +08:00
Add tcpdump and libpcap.
- Update the file builder generator to handle generator specific cflags and includes. The tcpdump and libpcap have localised headers and need specific headers paths to see them. There are also module specific flags and these need to be passed to the lex and yacc generators. - Add the tcpdump support.
This commit is contained in:
@@ -88,6 +88,7 @@ def includes():
|
||||
'-Ifreebsd/lib/libkvm',
|
||||
'-Ifreebsd/lib/libmemstat',
|
||||
'-Ifreebsd/lib/libipsec',
|
||||
'-Ifreebsd/contrib/libpcap',
|
||||
'-Irtemsbsd/sys',
|
||||
'-ImDNSResponder/mDNSCore',
|
||||
'-ImDNSResponder/mDNSShared',
|
||||
@@ -302,6 +303,12 @@ class TargetSourceCPUDependentPathComposer(CPUDependentPathComposer):
|
||||
return path
|
||||
|
||||
class BuildSystemFragmentComposer(object):
|
||||
def __init__(self, includes = None):
|
||||
if type(includes) is not list:
|
||||
self.includes = [includes]
|
||||
else:
|
||||
self.includes = includes
|
||||
|
||||
def compose(self, path):
|
||||
return ''
|
||||
|
||||
|
Reference in New Issue
Block a user