Commit Graph

424 Commits

Author SHA1 Message Date
chs 2129a366ed turn on lint and profiling for hppa. 2004-08-07 21:42:52 +00:00
lukem a606b4af8b Revert most of previous, and move the LIB<libname>?= assignments
back to bsd.prog.mk from bsd.own.mk.

pkgsrc uses <bsd.own.mk>, and setting LIB<libname> in it causes
problems with various package builds.
This should fix PR #26542 submitted by Jim Bernard.

(I'll be implementing the DPADD for shared libraries in a different
manner that generally won't depend upon ${LIB<libname>}.)
2004-08-04 05:32:47 +00:00
lukem d57516168e Move the LIB<libname>?= assignments from bsd.prog.mk to bsd.own.mk so
that they may be used by non PROGs (e.g., LIBs).

Improve some comments.
2004-07-30 04:18:48 +00:00
jmc bfd6078e17 Clean up HOST_OSTYPE a bit more and turn any spaces into _'s as well as
stripping paren'd values from HOST_ARCH. Fixes PR#25586 for uname -p output
on linux hosts which return multi-word values
2004-06-11 07:14:16 +00:00
abs a43917f536 Add TOOL_SPARKCRC. Need to clean up what happens in the non tools case. 2004-06-08 21:46:52 +00:00
lukem 2308454342 * Add MKPRIVATELIB; if not "no", act as "MKPROFILE=no MKPIC=no MKLINT=no"
and don't install the (.a) library.
  This is useful for "build only" helper libraries.
* Add some  #{  [...]  #}  comments around large conditional statements.
2004-05-23 01:45:21 +00:00
cl 885c0b6fc9 ``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen
for i386.  The resulting release consists of:
- NetBSD/xen for i386 kernel, loader and docuemntation
- NetBSD/i386 userland sets
2004-05-12 16:56:41 +00:00
lukem e79f0736d4 define X11ETCDIR (as /etc/X11) 2004-05-12 13:49:01 +00:00
skrll ac705457db GDB doesn't work on hppa at the moment. 2004-04-30 08:10:22 +00:00
rtr fb373b43a6 + define a proper variable/knob for building XFree86 as loadable or non.
let the breakage begin...
2004-04-13 12:37:29 +00:00
lukem c6ab7e7128 Add MAKEDIRPREFIX shell macro to <bsd.own.mk>.
Usage:  ${MAKEDIRTARGET} dir target [params]
		Runs "cd $${dir} && ${MAKE} [params] $${target}",
		displaying a "pretty" message whilst doing so.

Use MAKEDIRPREFIX to implement the __recurse .USE macro in <bsd.subdir.mk>
2004-04-13 12:25:03 +00:00
jmc add0ecfaa7 Turn off MKKERBEROS4 if MKKERBEROS==no. 2004-03-08 06:30:33 +00:00
rtr cf1f75909b + add switch for DRI components of X11 build. 2004-03-04 13:10:28 +00:00
uwe 1e2e037e02 Flip HAVE_GCC3 switch for sh3 ports. 2004-02-22 01:41:39 +00:00
lukem 803c713ae9 Change STRIPFLAG from "-s" to ""; we now don't strip binaries with install(1).
The benefits of having the symbol table available by default (easier
debugging of core dumps, etc) outweigh the minor (3%) increase in
the size of the distribution, and end-users can always strip(1) their
systems if they're concerned about that 3% of disk space.
2004-02-13 05:13:37 +00:00
lukem 20f6090de0 Add '-h sha1' to INSTPRIV.unpriv, so that SHA-1 hashes for installed files
are calculated and written to the METALOG.
2004-01-30 08:48:18 +00:00
lukem e0d82d7dce Add MKX11 to control if src/x11 is traversed during the build. (default: no)
Document <bsd.x11.mk>.
2004-01-07 12:06:34 +00:00
lukem 6d242d8a5e sort list 2004-01-03 01:05:42 +00:00
lukem 02e913d52d Consistently test all variables that support a "yes"/"no" value with
${VAR} == "no"
or
	${VAR} != "no"
(instead of against "yes").  Variables affected:
	TOOLCHAIN_MISSING
	HAVE_GCC3
	USE_TOOLS_TOOLCHAIN
	NEED_OWN_INSTALL_TARGET
	USE_SHLIBDIR

Improve the documentation.
2004-01-02 16:12:36 +00:00
matt abd06d37ef Add TOOL_MACPPCFIXCOFF 2003-12-11 00:28:08 +00:00
simonb 83f816d555 Disable native gdb for ns32k (but cross-gdb works). 2003-12-07 23:07:37 +00:00
scw a26234a268 And the monkey flicks the switch ...
Enable the in-tree toolchain on sh5, at least for the time being so I
can evaluate the situation.

There are still numerous problems with gcc3's sh5 support, not least
of which is the fact that a native gcc3 doesn't work at all. As a
cross-compiler, it works reasonably well. Certainly enough to build
userland and kernel code.

Binutils also has problems dealing with shared libraries on sh5, so
we're back to static userland for now.
2003-12-07 22:52:56 +00:00
matt 36d03f8064 Fix fumble-fingers && && -> && 2003-12-07 22:33:16 +00:00
matt aa713b97fe Turn on NOPIC= if using GCC3 for VAX. 2003-12-07 22:23:00 +00:00
simonb 9ec0c6aa88 ns32k doesn't have a missing toolchain anymore, does support
gcc3 and always uses static libraries (for now...)
2003-12-05 12:14:42 +00:00
matt 2996b43a0a Add MKINET6/USE_INET6 support. 2003-12-05 02:35:24 +00:00
mrg ce29aa2370 build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutils
as they are needed earlier than when gnu/usr.bin/binutils is built when
"make -j" is used.
2003-12-04 09:29:31 +00:00
mrg 2aa1a44c7a switch everyone to binutils 2.14. it's confirmed to work on all the
platforms that actually build at the moment...
2003-12-03 10:26:45 +00:00
mrg 629f68a11b oops, really force 2.13 2003-11-27 13:10:00 +00:00
mrg d16bc966af remove the GDB53 section.
change the polarity of the GCC3 section - list missing ports.
add a binutils 2.14 knob, forced to 2.13 for now.
2003-11-27 13:09:37 +00:00
lukem 185c65a241 In _MKTARGET_*, use ${.CURDIR:T} instead of ${.OBJDIR:T}, because that's more
useful when using actual 'obj' dirs.  Suggested by Alan Barrett, with some
tweaks by me.
2003-11-24 05:44:59 +00:00
lukem 6d246880fb In the various _MKTARGET macros, prepend "${.OBJDIR:T}/" to the ${.TARGET},
to provide more context about the operation.  Especially useful for crunched
binaries and kernel builds.  Idea suggested by David Laight <dsl@>
2003-11-22 21:53:28 +00:00
mrg 92ce299301 switch to GDB 5.3 on armeb & m68000. 2003-11-09 02:54:50 +00:00
lukem 4c858a92f3 Support MAKEVERBOSE more effectively. 2003-11-07 00:05:24 +00:00
skrll ad376176f9 Switch ARM to gdb 5.3.
XXX 26bit support isn't there at the moment.
2003-11-05 07:14:31 +00:00
mrg 79281abf48 switch sun2 to GCC3 2003-11-04 07:14:24 +00:00
sekiya f17c77ee73 Use XFree86 4.x on sgimips. 2003-11-03 00:30:34 +00:00
mrg 76dbb1d8cc GCC3:
- move m68000 into "mostly working" section
GDB53:
- move m68000 & armeb into "in progress" section
- enable sh3eb
2003-10-28 07:22:55 +00:00
simonb c78d65c886 Sort MACHINE_ARCH's in the GDB section. 2003-10-28 07:09:03 +00:00
mrg 3b4ce5498c turn on GCC3 for armeb 2003-10-27 01:45:20 +00:00
uwe 1312264774 Mark GCC3 for sh3el as "mostly working". Remaining issues are
toolchain/22452 and toolchain/22489 (gcc's optimization/11937).
2003-10-27 01:35:12 +00:00
uwe 0f1f83b0cc Switch sh3el to GDB 5.3. 2003-10-27 01:29:58 +00:00
mycroft 08c9a64727 I have no idea how this built, given that there seems to be a syntax error... 2003-10-26 06:26:26 +00:00
mycroft 07ea22b5b8 Note that armeb needs GCC 3, and hppa and m68000 need GDB 5.3. 2003-10-26 05:45:05 +00:00
lukem 5daa33014e Improve how build.sh -N and MAKEVERBOSE interoperate;
rather than adding '-s' to make's command line in the makewrapper,
use the .SILENT target based on MAKEVERBOSE's value.

This means that you can do:
	./build.sh -N 1 makewrapper

	$TOOLDIR/bin/nbmake-$MACHINE
	#  runs at MAKEVERBOSE==1, with command lines suppressed

	$TOOLDIR/bin/nbmake-$MACHINE MAKEVERBOSE=2
	#  runs at MAKEVERBOSE==2 for this invocation, with command lines shown
2003-10-26 02:17:46 +00:00
simonb 8652f3d5d3 Switch MIPS to GDB 5.3 2003-10-26 01:29:34 +00:00
mycroft b1f62a47b0 Throw the switch for mipseb and mipsel -- GCC 3 works. 2003-10-25 22:25:55 +00:00
matt da19615924 Switch VAX to GDB 5.3 2003-10-25 19:02:55 +00:00
mycroft 68fd22e460 68k works with GCC 3 on next68k and amiga. Throw the switch. 2003-10-24 17:44:36 +00:00
skrll 6cbe1f3d8f gdb 5.3 for arm is in progress 2003-10-22 07:43:59 +00:00