Commit Graph

777 Commits

Author SHA1 Message Date
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
simonb
6247b48489 Use ${MACHINE_CPU} instead of ${MACHINE_ARCH} in the machine-links
target; needed for MIPS and probably arm ports.
.include the full path name of machine/Makefile.inc so that this works
  if the machine-links target hasn't been run yet.
.include ${MACHINE_CPU}/include/Makefile.inc too.
2001-10-05 15:30:06 +00:00
tv
d1a2ff769a Make sure "clean" target is always defined, to compensate for cleandir
now being defined in terms of clean.
2001-10-04 16:29:54 +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
jdolecek
20a3387bdb don't include explicit -e for modload in 'load' target - it's redundant
This addresses bin/4701 by Hauke Fath, but does opposite thing than
suggested there.
2001-09-29 20:10:07 +00:00
mrg
f0cf28bfaa enable a toolchain for the sparc64. 2001-09-26 12:45:56 +00:00
tv
84a997640e Set .NOPATH on program to build to make sure it goes in .OBJDIR.
Problem noted by <seebs@plethora.net>.
2001-09-25 02:19:26 +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
lukem
13a5c8134c fix previous (hi thor!) - $OBJS and $CLEANFILES might be empty, and
rm needs some files to delete...
2001-09-24 09:18:05 +00:00
tls
38809e7a94 Split "cleanprog" target apart: now you can zap only object files or
CLEANFILES (needed to fix crunchgen lossage).
2001-09-24 01:04:32 +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
tv
cda4a8d07c The -m option is automatically propagated by make(1). Don't add yet more
(possibly wrong) `-m' options; this will only make MAKEFLAGS bigger and
bigger with each recursion.
2001-09-22 05:01:26 +00:00
tv
6abadb2b98 Allow for recursion speedups by predefining rules for large subtrees which
don't need to run a particular target (such as "includes-games" at top level,
or "includes-sushi" at share/).
2001-09-21 20:50:23 +00:00
tv
b868449232 Since SHLIB_MAJOR may be set even in a MKPIC=no situation, make sure that
print-shlib-* targets only print stuff if MKPIC=yes.
2001-09-21 15:25:49 +00:00
tv
e949020a8e If SHLIB_MAJOR is explicitly set in a Makefile, don't even look for a
shlib_version file.  (Part of a larger change which will also update
checkver to deal with this, and migrate old makefiles to include
SHLIB_MAJOR/SHLIB_MINOR.  For now, just add the hooks so that the old
gnu/lib toolchain libraries can use this as a workaround.)
2001-09-21 15:16:09 +00:00
mycroft
4a379469f5 Use -O2 on PowerPC. 2001-09-17 12:28:14 +00:00
chris
a41363209a Arm doesn't do ELF by default yet. Should fix PR 13973. 2001-09-16 18:50:29 +00:00
thorpej
913b93d749 Add LIBPCI. 2001-09-13 23:23:26 +00:00
thomas
d9203a217e On Atari now the default object format is ELF. 2001-09-08 11:10:41 +00:00
christos
10535336ed Add some more WARNS (commented out since they break things) 2001-09-08 01:00:44 +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
f059974dc2 Add a HOST_CXX and HOST_CXXFLAGS (currently needed for compiling groff on
a cross host).
2001-08-14 11:55:04 +00:00
tv
58290cfc5d Change ROFF?= to be more like other utility macros; make this "groff -Tps"
by default.
2001-08-14 10:38:27 +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
8bd89a86e7 Protect against multiple inclusion, and evaluate ${.CURDIR} early (to assist
the top-level toolchain bootstrap).
2001-08-14 09:30:48 +00:00
tv
73774cf454 On recursion, don't recurse "clean" if making "cleandir". (Related to
bsd.own.mk change that defined clean as a dependency of cleandir.)
2001-08-14 09:02:26 +00:00
tv
dba7b8b6de Use GENCAT as a variable to determine the location of "gencat". 2001-08-14 08:28:24 +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
enami
086d34c97e Now that the makeinfo is quiet by default, don't suppress commmand line echo. 2001-08-02 05:42:56 +00:00
matt
c944f94d86 MACHINE_ARCH=arm changes 2001-07-23 17:13:44 +00:00
matt
a161d61e18 Make arm use -O2 2001-07-23 17:08:17 +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
scw
3293e3a26c Check for MKSOFTFLOAT being defined before testing its value.
Needed for crunchgen(1) generated makefiles (e.g. miniroot builds).
2001-07-04 17:46:06 +00:00
eeh
3fa4c5f64b Tell the assembler to accept UltraSPARC extensions on sparc64. 2001-06-29 23:50:01 +00:00
wiz
3f9984fc90 existent', not existant' 2001-06-19 13:42:07 +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
mrg
97b5460add fail `make obj' if $BSDOBJDIR doesn't exist. fixes PR#12937. 2001-06-10 13:32:21 +00:00
mrg
ef022c7570 redo the previous; allow SHLIB_LDSTARTFILE and SHLIB_LDENDFILE to be overridden. 2001-06-08 11:41:59 +00:00
mrg
6c81e0af9d set SHLIB_LDSTARTFILE and SHLIB_LDENDFILE based on ${LIBDIR} not hard coded
/usr/lib.
2001-06-07 15:28:55 +00:00