[rtems-libbsd commit] builder.py: addTargetSourceCPUDependentSourceFiles
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Oct 1 19:33:48 UTC 2015
Why do you think it is wrong?
The background for this change is that we need an explicit one-to-one mapping of libbsd and original FreeBSD files.
----- Chris Johns <chrisj at rtems.org> schrieb:
> On 1/10/2015 2:56 am, Sebastian Huber wrote:
> > diff --git a/wscript b/wscript
> > index 673479f..88334e4 100644
> > --- a/wscript
> > +++ b/wscript
> > @@ -1053,42 +1053,41 @@ def build(bld):
> > 'rtemsbsd/telnetd/pty.c',
> > 'rtemsbsd/telnetd/telnetd.c']
> > if bld.get_env()["RTEMS_ARCH"] == "arm":
> > - source += ['freebsd/sys/arm/arm/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
>
> This looks wrong and checking git it is wrong.
>
> > if bld.get_env()["RTEMS_ARCH"] == "avr":
> > - source += ['freebsd/sys/avr/avr/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "bfin":
> > - source += ['freebsd/sys/bfin/bfin/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "cflags":
> > source += ['default']
> > if bld.get_env()["RTEMS_ARCH"] == "h8300":
> > - source += ['freebsd/sys/h8300/h8300/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "i386":
> > source += ['freebsd/sys/i386/i386/in_cksum.c',
> > 'freebsd/sys/i386/i386/legacy.c',
> > 'freebsd/sys/x86/pci/pci_bus.c']
> > if bld.get_env()["RTEMS_ARCH"] == "lm32":
> > - source += ['freebsd/sys/lm32/lm32/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "m32c":
> > - source += ['freebsd/sys/m32c/m32c/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "m32r":
> > - source += ['freebsd/sys/m32r/m32r/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "m68k":
> > - source += ['freebsd/sys/m68k/m68k/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "mips":
> > source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "nios2":
> > - source += ['freebsd/sys/nios2/nios2/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "powerpc":
> > source += ['freebsd/sys/powerpc/powerpc/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "sh":
> > - source += ['freebsd/sys/sh/sh/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "sparc":
> > - source += ['freebsd/sys/mips/mips/in_cksum.c',
> > - 'freebsd/sys/sparc/sparc/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "sparc64":
> > source += ['freebsd/sys/sparc64/sparc64/in_cksum.c']
> > if bld.get_env()["RTEMS_ARCH"] == "v850":
> > - source += ['freebsd/sys/v850/v850/in_cksum.c']
> > + source += ['freebsd/sys/mips/mips/in_cksum.c']
>
> They all seem wrong which is a puzzling as to how this builds.
>
> Chris
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list