On 11/02/2020 13:06, Jan Sommer wrote:
diff --git a/waf_libbsd.py b/waf_libbsd.py
index 84f22b76..3b1f2d16 100644
--- a/waf_libbsd.py
+++ b/waf_libbsd.py
@@ -197,6 +197,10 @@ class Builder(builder.ModuleManager):
if 'cpu-include-paths' in config:
cpu = bld.get_env()['RTEMS_ARCH']
if cpu == "i386":
+ cpu = 'i386'
What is the purpose of this assignment?
+ includes += ['freebsd/sys/x86/include']
+ if cpu == "x86_64":
+ cpu = 'amd64'
includes += ['freebsd/sys/x86/include']
for i in config['cpu-include-paths']:
includes += [i.replace('@CPU@', cpu)]
I am not sure what this should do. Here cpu x86_64 seems to be renamed
to amd64? Should it be named amd64 in general?
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel