diff options
author | 2001-09-17 01:18:34 +0000 | |
---|---|---|
committer | 2001-09-17 01:18:34 +0000 | |
commit | 3fd496df21d8321fa5fd037c1f1c54924e0bbcd6 (patch) | |
tree | 19f3cebc4eb50480b98b31c192965693196dcf9b /sys | |
parent | patsubst on multi-line pattern... icky. (diff) | |
download | wireguard-openbsd-3fd496df21d8321fa5fd037c1f1c54924e0bbcd6.tar.xz wireguard-openbsd-3fd496df21d8321fa5fd037c1f1c54924e0bbcd6.zip |
This change (and a little change for alpha gcc config) allowed me to build
cross tools and kernels with those cross tools on all archs except mvme88k
and hppa.
1. Pass MACHINE_ARCH, not MACHINE to TARGET_MACHINE_ARCH when building old
binutils.
2. Instead of using the "intelligent" cpp voodoo to find out MACHINE_ARCH
from MACHINE (which has never worked correctly for sparc, 68k and
recently it broke for powerpc), we have a table of machine->machine_arch
translations. It's easier to modify one table once per arch instead of
juggling for a few hours every time some include files change.
3. Remove some sparc64 cruft.
4. Set MACHINE and MACHINE_ARCH in cross-env, otherwise the kernel will
try to build libkern for the host.
Please note that this doesn't allow you to do complete builds. I haven't
even tested cross-lib. Only kernel builds have been tested.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions