summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-09-29 10:16:10 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-09-29 10:16:10 +0200
commitaf3944c7549f64e59abdbabf58f0ae49323a2ea9 (patch)
tree89d673130dcbc12cc9cbc981f3ae22ff5a41b2bd
parent40f7d5cf7d5353dba29ebcde2d1a51fc66fb33fb (diff)
downloadrtems-libbsd-af3944c7549f64e59abdbabf58f0ae49323a2ea9.tar.bz2
waf: Do not add '.' to standard include path
-rwxr-xr-xwaf_generator.py2
-rw-r--r--wscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/waf_generator.py b/waf_generator.py
index 7ae5a2aa..e561df1f 100755
--- a/waf_generator.py
+++ b/waf_generator.py
@@ -321,7 +321,7 @@ class ModuleManager(builder.ModuleManager):
self.add(' cxxflags = %r + common_flags' % (builder.cxxflags()))
self.add('')
self.add(' # Include paths')
- self.add(' includes = ["."]')
+ self.add(' includes = []')
self.add(' for i in %r:' % (builder.cpu_includes()))
self.add(' includes += ["%s" % (i[2:].replace("@CPU@", bld.get_env()["RTEMS_ARCH"]))]')
for i in builder.includes():
diff --git a/wscript b/wscript
index 88334e44..9246025f 100644
--- a/wscript
+++ b/wscript
@@ -72,7 +72,7 @@ def build(bld):
cxxflags = ['-std=gnu++11'] + common_flags
# Include paths
- includes = ["."]
+ includes = []
for i in ['-Irtemsbsd/@CPU@/include', '-Ifreebsd/sys/@CPU@/include']:
includes += ["%s" % (i[2:].replace("@CPU@", bld.get_env()["RTEMS_ARCH"]))]
includes += ["rtemsbsd/include"]