[PATCH v3 2/3] amd64: Add to build

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Feb 11 12:22:23 UTC 2020


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?


More information about the devel mailing list