Commit Graph

1538 Commits

Author SHA1 Message Date
pooka b0f9a8a9aa update and fix description of MKPUFFS 2007-02-24 18:53:34 +00:00
chs ca31efae54 switch the rest of the architectures to gdb6. 2007-02-19 18:31:21 +00:00
perry 34c4900430 Before I completely forget the issue, convert "PROG_PAX" to the
better-named "PAXCTL_FLAGS".
2007-01-25 23:04:28 +00:00
christos 855c80dc29 delete "-std=gnu99" from c++ flags. From mrg. 2007-01-22 21:49:07 +00:00
apb a45dfb93f4 Define TOOL_JOIN. 2007-01-14 16:19:55 +00:00
rumble 78f7b270d1 Fix a typo, tweak wording, and maintain consistency. 2006-12-30 04:45:13 +00:00
pooka 81b905fdbb if MKPUFFS=yes is given, build & install mount_psshfs (default: no) 2006-12-29 15:52:20 +00:00
macallan 610c0515b7 build XFree86 on shark 2006-12-21 01:45:32 +00:00
dyoung f3fbc3bb0f Change the name of the host disklabel to nbdisklabel-${MAKEWRAPPERMACHINE},
where ${MAKEWRAPPERMACHINE} is the suffix XXX on the target's make
wrapper, nbmake-XXX.

Fixes toolchain/30673, "single arch host disklabel isn't enough".
2006-12-09 20:13:13 +00:00
dsl 2abb1c7f9b If MAKEOBJDIRPREFIX or MAKEOBJDIR is defined, then we rely on make to
set .OBJDIR so 'make -V .OBJDIR' doesn't need to read any makefiles.
Given how much cud-chewing make does in order to read a line, this
speeds things up significantly (the operation in hand).
2006-11-29 21:49:39 +00:00
dsl d23b6980be Comment where make's internal copy of .OBJDIR gets changed 2006-11-26 20:09:57 +00:00
drochner 29d30258a4 mk.conf might refer to all kinds of make variables, so we can't just pull
it in without everything else (reported by martin). So revert to 1.485
which did at least work for everyone.
2006-11-26 13:59:49 +00:00
drochner 0c2df71a45 fix previous: need to pull in <bsd.obj.mk> to get the real .OBJDIR 2006-11-24 12:02:55 +00:00
martin 6a3c1d7aeb When checking wether we are debugging, look for -g in ${CFLAGS} instead
of ${COPTS}. The latter explicitly includes the former and ${DBG}, where
the -g most likely is hidden.
2006-11-23 12:05:26 +00:00
dsl 503ea65cd7 If we only want .OBJDIR printed, there is no point parsing the default
make rules, nor reading Makefile.
It is rather a shame we can't stop .depend being parsed as well.
Quite possibly one could argue that nothing in .depend should affect the
output of 'make -V xxxx'.
2006-11-22 22:04:57 +00:00
dsl 0d9ff52003 Mark all the .PHONY targets as .NOTMAIN in one go - instead of individually.
Add .WAITs after beforeinstall and before afterinstall.
Remove the bogus dependency lines that someone must have added with the
vague hope they would cause the build to happen in the right order!
Since we have 'realinstall:     proginstall scriptsinstall' stopping
'realinstall' running never has stopped 'proginstall' running.
Fixing this probably fixes a variety of problems, including, but not
restricted to 'install' in src/sys/arch/atari/stand/bootxx
(NB this particular file is untested due to other local changes)
2006-11-21 18:25:26 +00:00
christos 1bb72362cf more uucp removal. 2006-11-12 02:44:51 +00:00
jmmv abac724ef9 Also use libraries from /lib for binaries installed into /libexec. Needed
by lfs_cleanerd which is about to be moved to this directory.
2006-11-11 14:41:20 +00:00
christos 42b579bab8 disable SSP for standalone code. 2006-11-11 06:28:49 +00:00
christos d07f8e39ca don't run paxctl if other commands were specified for that target. 2006-11-11 06:15:55 +00:00
christos e81129f492 add the non tool version of paxctl 2006-11-10 17:22:19 +00:00
christos fef715f487 if ${PROG_PAX} is defined, run paxctl on the binary after linking with
the value of the variable. This way, if you set:

    PROG_PAX=+M

in /etc/mk.conf, you get what you deserve.
2006-11-10 17:13:15 +00:00
christos 3051b08454 Add ssp glue. 2006-11-09 17:06:54 +00:00
pooka bcb1fccca0 libpuffs 2006-10-22 22:53:41 +00:00
christos e9a36b93da Add -Wextra -Wno-unused-parameter to WARNS > 2 2006-10-22 22:17:30 +00:00
bjh21 7fb3ea3f6c Use GDB 6 on armeb as well. 2006-10-18 23:31:50 +00:00
bjh21 cc630e93eb GDB 6.5 seems to be basically functional on ARM, so make it the default there. 2006-10-18 23:22:24 +00:00
mrg b55240a473 - clean up some comments to reality.
- retire LIBDCK, LIBG2C and (long broken) USE_LIBSTDCXX
- in bsd.hostprog.mk's LIBSTDCPP -> LIBSTDCC
- add LIBSUPCXX
- don't default USE_LIBSTDCXX or USE_GCC4 since they are
  not used in the tree any where
- same with USE_XF86_4; retire it
- remove _SUPCXX handling in bsd.prog.mk

inspired by PR#26714.
2006-10-09 08:32:11 +00:00
elad 83704dec18 PR/28368: Peter Postma: unrecognized option `-Wnetbsd-format-audit'
Apply patch from rivo nurges in #NetBSD-code, thanks!
2006-10-08 17:16:51 +00:00
tsutsui cd4f2a86f4 - pc532 is ${MACHINE}, not ${MACHINE_ARCH}; use ns32k
- fix a comment (sh5 has been switched to gcc4)
2006-10-01 05:06:20 +00:00
martin 37b5f548a5 Default sparc64 to gdb6. 2006-09-27 06:34:07 +00:00
matt a63ad7b671 Make GCC4 the default (except for pc532).
Switch powerpc to GDB6.
2006-09-26 22:11:32 +00:00
christos a08b6e285b switch i386 to gdb6. 2006-09-26 19:33:02 +00:00
skrll de030205fa Switch hppa to gcc4. 2006-09-22 13:14:59 +00:00
simonb ee167a117b Switch MIPS to gcc4 by default. 2006-09-19 04:16:11 +00:00
dbj 758985809b pay attention to MKUPDATE instead of UPDATE when installing libs 2006-09-18 05:15:35 +00:00
tsutsui 3d402afffa Switch m68k ports to gcc4.
Tested on most m68k ports. Still there is no report of
atari, cesfic, luna68k, and mvme68k on real machines,
but at least builds for these ports should work.
2006-09-17 04:40:04 +00:00
skrll 4f50b00c11 ia64 doesn't do gdb yet. 2006-09-14 06:28:47 +00:00
dbj b41feff50f fixes for installing into a case insensitive $DESTDIR
when files may have hard links to a a name that only differs by case
  - change install to unconditionally remove its temporary file
    when installing hard links with -r.  This avoids problems when
    built with posix rename(2) semantics and reinstalling an existing
    hard link.
  - rework hard link targets in bsd.man.mk and bsd.links.mk
    to use makefile constructs instead of shell constructs
  - always reinstall hard links that may have case conflicts, even
    when MKUPDATE=yes, this ensures that they get added to METALOG
  - remove man pages which were hard linked to themselves in libform
  - remove improper hard link command for existing man page in libkrb5
  - fix libl's makefile to include bsd.lib.mk at end
  - remove shell quoting in link target for test's [.1 man page
2006-09-11 22:24:09 +00:00
cherry 05c821640b Switch ia64 to gcc4 2006-09-10 21:04:43 +00:00
simonb b53f76b4fe Use -Wno-uninitialized for ns32k. For some reason, gcc on ns32k
doesn't detect initialisation correction in simple "for" loops like:
	for (i = 0; i < 10; i++)
		var = i;
2006-09-09 03:53:19 +00:00
scw f177e531c7 Switch sh5el to gcc4. 2006-09-04 20:03:21 +00:00
matt 02f1c8b0ef Make sure to compile things at -O2 for mips64e[bl] 2006-08-26 19:57:03 +00:00
matt c0b0d51c8c MACHINE_CPU for mips64e[bl] is mips 2006-08-26 19:56:37 +00:00
matt 9e051a8002 Add enough configury glue so that src/tools can build a N64 mips toolchain. 2006-08-25 23:35:04 +00:00
uwe d4491bfa15 Switch sh3 to gcc4.
sh3el tested on hpcsh.  sh3eb only compile-tested with an mmeye build.
2006-07-24 23:54:15 +00:00
lukem 2c9b699f2a add reminder to sync with etc/Makefile and share/man/man5/mk.conf.5 2006-07-23 12:31:29 +00:00
lukem cacf5bfacc Implement MKDEBUG:
If "no", don't build and install separate debugging symbols
	into /usr/libdata/debug.
	Default: no
2006-07-23 11:41:24 +00:00
lukem 8b3ce8625c Rename MKDEBUG to MKDEBUGLIB. 2006-07-22 05:29:03 +00:00
peter 669a86ac31 MKPAM default is "yes". 2006-07-14 21:37:10 +00:00