summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-17 01:18:35 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-17 01:18:35 +0000
commited3bc6dd6a57440f298532a12f161265fd3ab545 (patch)
tree5ca47c8cf9fa8d4e01c40b55c81178bce3777d75 /sys
parent2c17a090196d4a5fc553be0fa219299303332455 (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')
0 files changed, 0 insertions, 0 deletions