thorpej
5f6d116c46
Switch PowerPC to the new toolchain.
2001-11-04 01:36:18 +00:00
thorpej
fd329b8dd0
Fix typo in previous.
2001-11-03 20:46:25 +00:00
thorpej
b437f0975b
Switch NetBSD/sparc to the new toolchain.
2001-11-03 20:26:56 +00:00
tv
1129ed4afe
Improve readability and reduce redundant redundancy in share/mk; add some
...
descriptive comments. The guts of hostprog, lib, and prog are mostly
unchanged; this will be done in another pass.
Make several things work properly with UNPRIVILEGED set, and make the
install-time "cmp" logic work for MANZ. Also reimplement INCS{DIR,NAME}_foo
(requested by wiz) in a backwards compatible way.
Reviewed by christos.
2001-11-02 05:21:47 +00:00
tv
61be23b431
* Create a variable HOST_OSTYPE that represents the host build environment,
...
using `uname -s`-`uname -r`-`uname -p || uname -m`. This can be overridden
in mk.conf or the environment, and is used by host tools to ensure that
build hosts do not clobber each other.
* Now that there's an objdir in src/tools, make a default TOOLDIR by creating
"tools.${HOST_OSTYPE}" in the objdir (if it exists) of src/tools. This
means that TOOLDIR is no longer required to be set in a build, though it
still may be set manually if desired.
* Set MKTOOLS to "yes" by default, since the default TOOLDIR is now located
in a known mutable location. This may still be set manually if desired.
2001-10-31 17:46:08 +00:00
tv
abb4800606
Make REQUIRETOOLS work properly -- don't error if USE_NEW_TOOLCHAIN is
...
not set. Also, nuke redundant USE_NEW_TOOLCHAIN check with USETOOLS.
2001-10-31 16:25:21 +00:00
jmc
83fb4943af
already gets checked and prints out an error if it's used without
...
being set. You want to use it if USE_NEW_TOOLCHAIN is set and you're in
the source tree by default.
2001-10-28 02:03:00 +00:00
chs
3116cf32a9
if TOOLDIR is not defined, USETOOLS should default to "no",
...
since defaulting to "yes" will just give an error every time.
2001-10-28 00:52:41 +00:00
jmc
bffc850001
Remove debug echo statement
2001-10-26 06:41:46 +00:00
jmc
a414473103
Change the check for BSD_PKG_MK into something which looks to see if we're
...
running from inside of $BSDSRCDIR (recurse back and look for file/dir
signatures or reach /, whichever comes first).
Do it once and then pass the results to sub-makes.
Finally, if using the new toolchain and USETOOLS=yes check $TOOLDIR
before using it. Print an error message out if it's not set when expected
here.
2001-10-26 04:59:10 +00:00
bjh21
cb7676b0ab
USE_NEW_TOOLCHAIN for ARM ELF platforms (just arm26), since the old toolchain
...
doesn't do ARM ELF at all.
2001-10-25 22:31:11 +00:00
thorpej
09dacf298e
Oops, typo.
2001-10-25 07:47:18 +00:00
thorpej
9c77726ed1
Add an ASN1_COMPILE variable for that host tool.
2001-10-25 07:46:48 +00:00
thorpej
5717160d3a
MDSETIMAGE gets a MACHINE_GNU_PLATFORM prefix.
2001-10-24 23:58:21 +00:00
thorpej
bae67ac435
LINT needs a ${MACHINE_GNU_PLATFORM}- prefix now.
2001-10-24 02:34:33 +00:00
thorpej
3a01dbbe6c
Quote the ${CC} provided to mkdep's environment.
2001-10-23 22:55:30 +00:00
thorpej
8f508df026
When setting MACHINE_GNU_PLATFORM for ARM ports, we need compare
...
MACHINE_GNU_ARCH (not MACHINE_ARCH) to "arm", otherwise the GNU
platform won't be set properly if OBJECT_FMT=ELF.
2001-10-23 17:15:21 +00:00
jmc
a831891141
Pull in mdsetimage to the tools builds. (XXX - using libbfd here would
...
probably be preferrable long term).
2001-10-21 23:10:46 +00:00
jmc
910ace859f
Pass ${.MAKE} to crunchgen so it uses the one for cross builds correctly
2001-10-21 23:08:59 +00:00
jmc
6289ed7a3e
Change sets so the differing toolchain bits only (not the complete toolchain
...
at the moment) are pulled out into tc.mi and tc.old files.
tc.mi has any files which are in the new toolchain only and tc.old contains
the reverse (files which only existed in the old toolchain). The remainder
of the toolchain that is common between both old and new is still contained
in the various mi/md files.
Check for USE_NEW_TOOLCHAIN=yes in makeflist to determine which tc files to
pull in if they exist.
XXX - All the toolchain bits should eventually be pulled out into separate
lists as tc.mi and tc.<arch>. Leaving it for now until the new toolchain is
fully integrated on all ports.
2001-10-20 06:11:21 +00:00
jmc
37e7a6a0a9
Add mklocale to cross-tools and turn it back on for the builds.
2001-10-20 06:04:59 +00:00
jmc
1ea83aa531
Add crunchgen, msgc and menuc
2001-10-13 06:11:06 +00:00
enami
a28fcd776c
Make mtree a host tool and use it when appropriate.
2001-10-09 05:19:03 +00:00
mrg
f650652253
use CC="${CC}" and NM="${NM}" so that, eg, "CC=cc -m64" works.
2001-10-08 10:01:35 +00:00
tv
4623186407
Make sure to define USETOOLS properly always (set it to "no" on systems
...
without USE_NEW_TOOLCHAIN). This will allow conversion of in-tree
conditionals to use only USETOOLS....
2001-10-04 15:52:59 +00:00
mrg
f0cf28bfaa
enable a toolchain for the sparc64.
2001-09-26 12:45:56 +00:00
tv
63e11416cf
Add STRIP to the environment of binstall, to use proper strip at install
...
time. Noted by <jepeway@blasted-health.com>.
2001-09-25 01:43:35 +00:00
tv
e7bc3de221
Add mssed commit that sets USETOOLS=no if BSD_PKG_MK is set. Noted by erh.
2001-09-25 01:04:35 +00:00
tv
aea7f2e0d5
Move the definitions of host tools from Makefile.tools to <bsd.own.mk>.
...
Turn on USE_NEW_TOOLCHAIN explicitly on i386. (See current-users or
tech-toolchain for the heads up announcement and tech details.)
2001-09-22 05:45:50 +00:00
chris
a41363209a
Arm doesn't do ELF by default yet. Should fix PR 13973.
2001-09-16 18:50:29 +00:00
thomas
d9203a217e
On Atari now the default object format is ELF.
2001-09-08 11:10:41 +00:00
eeh
500082fdef
Build lint on sparc64.
2001-08-26 06:00:30 +00:00
chs
7cffe4c898
switch cesfic to ELF.
2001-08-25 18:39:24 +00:00
mrg
665a4002a3
enable profile libraries on sparc64
2001-08-19 14:24:44 +00:00
tv
64263ab596
Revert previous temporarily to deal with PR bin/13722; will revisit this
...
(and close the PR) after I've located all of the uses of PRINTOBJDIR and
fixed them up not to bork themselves recursively.
2001-08-15 17:50:15 +00:00
tv
937e77aec5
Speed up PRINTOBJDIR a little by changing it to "${MAKE} -V .OBJDIR" (it
...
will recurse, but won't need to spawn a shell and run commands now).
2001-08-14 23:33:43 +00:00
tv
55e586472d
Simplify some MACHINE_ARCH transforms, and redefine MACHINE_GNU_PLATFORM
...
as the full GNU triplet name.
2001-08-14 09:31:42 +00:00
tv
d0f9e45413
Rather than explicitly saying "clean cleandir:" all the time, make clean
...
a dependency of cleandir (so that "make cleandir" implies "make clean").
2001-08-14 07:02:13 +00:00
tv
b2e42252e1
Simplify PRESERVE and INSTPRIV by using ${...:D...}.
2001-08-14 06:47:24 +00:00
tv
c7dda8f2a7
Make MAKECONF defined always by setting MAKECONF?=/etc/mk.conf and using
...
that variable only for including make(1) variables. Much more consistent
and less prone to ambiguity this way (and now, ${MAKECONF} can be used in
messages indicating a missing option needed for a build).
2001-08-14 05:55:27 +00:00
matt
c944f94d86
MACHINE_ARCH=arm changes
2001-07-23 17:13:44 +00:00
bjh21
6c71fcb79a
Since arm26 and arm32 are heading towards shared binaries, don't distinguish
...
them for the GNU tools.
2001-07-21 16:56:07 +00:00
bjh21
0d2f9028de
arm26 uses ELF.
2001-07-21 16:48:49 +00:00
fredette
340af7db82
Added support for the m68000 MACHINE_ARCH, as an incomplete
...
ELF port with a MACHINE_CPU of m68k.
2001-07-13 12:44:22 +00:00
fvdl
644b748282
Add some extra flags for the x86-64 port. Disable -O in sys.mk
...
(which is where all ports set it); there seem to be some lurking
optimization bugs for the x86-64.
2001-06-19 01:37:44 +00:00
simonb
3acd556b4d
Add a new make variable "MKSOFTFLOAT". If not set to "no", it adds
...
"-msoft-float" to COPTS and FOPTS, and possibly builds soft-float
library support (port specific).
Defaults to "no".
2001-06-18 17:04:44 +00:00
tv
08b1b0382d
Fix typo.
2001-06-02 02:22:35 +00:00
tv
ca502c58a6
Add MACHINE_GNU_PLATFORM to identify as "netbsdelf" for historically a.out
...
platforms. While there, allow MACHINE_GNU_ARCH and MACHINE_CPU to be
inherited from the environment.
2001-06-02 01:53:29 +00:00
tv
dd70bf30ad
Make "distclean" a REAL synonym for "cleandir" by actually aliasing it
...
in <bsd.own.mk>, rather than sprinkling it in all the .mk files (and
some Makefiles throughout the tree).
2001-06-01 17:49:32 +00:00
chs
bef49778fd
next68k is now ELF.
2001-05-12 22:38:04 +00:00