1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00
Commit Graph

113 Commits

Author SHA1 Message Date
jmc
37a1d5d822 use shell-neutral language (in a comment);
from ray lai;
ok krw@
2005-09-16 12:28:34 +00:00
espie
a222f1590e move cross-stuff into its own file.
okay mickey@, niklas@
2005-01-09 20:36:20 +00:00
espie
42aa7dab60 Synch with bsd.own.mk: USE_GCC3 is always set now, so we must set it to no
explicitly.
2005-01-09 19:35:26 +00:00
espie
3de481534f i386 is gcc3 for cross too. 2005-01-09 00:14:32 +00:00
grange
641d118ebd We don't need cross-{nm,size} anymore, our host tools are good enough.
mickey ok a long time ago.
2004-12-25 16:17:33 +00:00
mickey
6ba694771f need to pass MAKEOBJDIR to prereq and includes 2004-11-30 15:46:01 +00:00
mickey
0c1a7e21b5 match cross-binutils-new selection w/ bsd.own.mk and add hppa64 where needed 2004-10-26 05:01:02 +00:00
grange
5088dc13e9 Move the cross glue from the root makefile to the toolchain's,
allowing bulding cross-tools with new binutils and gcc3.

ok drahn@ brad@ espie@
2004-10-21 20:47:29 +00:00
grange
11d7f4bc3b cross-nm doesn't need TARGET_MACHINE_ARCH anymore.
ok mickey@
2004-10-16 15:28:14 +00:00
pefo
e64abf1daf fix/add sgi 2004-08-06 22:30:54 +00:00
drahn
1a6eb946e1 Remove OpenBSD/pegaos, this has been announced before but delayed until
the tree was stable. No point in code supporting a company which screws
its employees being in the OpenBSD tree.
2004-05-03 15:18:18 +00:00
miod
d0b189c628 Add luna88k related directories and information to the build infrastructure.
ok deraadt@, millert@, krw@ - mdoc ok jmc@
2004-04-21 15:58:21 +00:00
mickey
3f20d135be repair cross-tools 2004-03-31 19:13:04 +00:00
deraadt
77fd8a68cd change amd64's MACHINE_ARCH from x86_64 to amd64. There are many many
reasons for this, quite a few of them technical, and not all of them
in response to Intel's broken ia32e crud.  The gcc toolchain stays at
x86_64 for now.
2004-02-27 17:36:11 +00:00
brad
6ff18210a4 - remove sun3
- use "new" ld/gas/etc. for pegasos with cross-compile
- reorder arch/machine names in alpha order

ok drahn@
2004-02-01 06:16:50 +00:00
mickey
f92b546106 amd64 hook ups 2004-01-28 02:24:28 +00:00
brad
592abc31a3 add pegasos as a powerpc system for cross-compile target
ok drahn@
2004-01-14 23:26:24 +00:00
mickey
1e632e67a3 abcomodate cross for the new nm+size 2004-01-05 01:33:40 +00:00
matthieu
21cdfd0542 Don't go into kerberosV/lib explicitely for now. Nothing to do there.
Ok deraadt@, miod@.
2003-12-14 10:02:57 +00:00
mickey
dfaba83c4a need to escape the quotes in cross-{lib,bin} 2003-10-05 00:18:02 +00:00
mickey
8492e38257 need to eval the CROSSENV 2003-10-05 00:12:52 +00:00
millert
7c8333e236 Don't build libperl separately in the libs pass, just build it when
we build perl itself.  We need perl to run Configure *after* the
other libraries are installed, since Configure looks at what symbols
exist in libc and the other libs.  If anfd when other things in the tree
link against libperl we may need to revisit this issue.
2003-05-17 20:58:52 +00:00
mho
8383aa7aaf Remove krb4 support. 2003-05-14 08:01:02 +00:00
drahn
faf0164a7a Add i386 to list of archs which use binutils. 2003-04-17 03:48:56 +00:00
mickey
e53e939cb9 enquote flags and opts in cross-env; reported by david krause 2003-01-05 22:52:19 +00:00
miod
21eafbae48 Prevent the a.out cross-ld from building rtld too early in the build. 2002-09-17 16:19:49 +00:00
wcobb
3e0db07eb5 - add cross-distrib target to cross-compile the world (except gnu)
- add cross-obj, cross-depend, cross-clean and cross-cleandir targets
- add dependencies between the cross-tools targets
- simplify cross-binutils
- build a cross c++ compiler
- use distribution-etc-root-var in etc for preparing ${CROSSDIR}

ok art@, miod@
2002-08-16 02:04:58 +00:00
art
cd65bdac06 Let cross-sparc use new bintuils. 2002-08-11 22:48:05 +00:00
todd
885e28c653 knf 2002-06-09 05:47:26 +00:00
mickey
8c2797fb08 install cross-links for objdumpc,objcopy,strings 2002-05-15 15:55:01 +00:00
art
19806625e6 Change the regression-tests target to do depend before running regress. 2002-02-22 23:31:11 +00:00
art
dd6f3c0cf6 Only go into regress on "obj", "clean" and "cleandir". 2002-01-03 02:19:20 +00:00
espie
9bdcaee42d a bit too soon. 2001-09-25 10:26:39 +00:00
espie
5b2116c6ba link gnu files in. 2001-09-25 09:43:22 +00:00
art
3fd496df21 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.
2001-09-17 01:18:34 +00:00
fgsch
a2527338e0 Cross-tools changes:
o Enable c++.
o Add missing lib/apache/xml/include directory.
o Use lorder from /usr/bin.

art@, mickey@ ok.
2001-09-14 06:03:11 +00:00
mickey
c68a5ba70f put quotes on CFLAGS in binutils-new 2001-09-07 19:35:37 +00:00
mickey
8a7b424f61 don't forget to make depend for croos-binutils-old sub-targets, dunno how it got broken but let's blame art since he commits into cross-tools all by himself all the time and breaks it 2001-09-07 19:29:49 +00:00
art
f51f852c9f new target: cross-env that prints all environment variables that
need to be set for cross building:
cd /usr/src/sbin/init
make `cd /usr/src ; make TARGET=sparc64 cross-env`

Also, xcpp was wrong, cccp is wrong, cpp is probably better.
2001-09-03 16:26:02 +00:00
drahn
ae9c37fa41 powerpc -> macppc rename changes 2001-09-01 16:03:18 +00:00
art
0ea181afcc Use more brute force when making links for binutils.
We simply make sure that there always is a TARGET_CANON-X and an X
regardless of which one is the regular file and which one is the symlink.

(this is for cross-tools)
2001-08-31 14:13:50 +00:00
art
5ae46fa896 cccp, not xcpp 2001-08-31 13:49:17 +00:00
brad
0b2e84cae3 more leftover arc/pmax stuff
--
Ok'd by art@
2001-08-31 12:47:57 +00:00
art
5ed3a518f1 Magic to make sparc64 cross-tools not bomb in the first 5 minutes
of building cross-tools.
2001-08-31 10:54:59 +00:00
brad
745330d4b8 bye bye MIPS related bits and pieces.
--
Ok'd by deraadt@
2001-06-26 18:00:16 +00:00
hin
3bedaf2efb Build kerberosV when enabled. 2001-06-26 15:33:28 +00:00
niklas
eb700df301 yet another old M: missing SUDO i includes target 2001-06-24 23:31:07 +00:00
espie
efeb256f5c Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@
2001-05-14 12:34:26 +00:00
todd
46d827c83c unbreak broken cross-binutils-new target (missing ')' ) 2001-03-28 22:52:22 +00:00
niklas
5df89c4438 Fix cross-tools symlinks for old toolchain too 2001-01-27 01:59:43 +00:00