diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-17 01:18:35 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-17 01:18:35 +0000 |
commit | ed3bc6dd6a57440f298532a12f161265fd3ab545 (patch) | |
tree | 5ca47c8cf9fa8d4e01c40b55c81178bce3777d75 /sys/arch | |
parent | 2c17a090196d4a5fc553be0fa219299303332455 (diff) |
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/arch')
0 files changed, 0 insertions, 0 deletions