Commit Graph

1274 Commits

Author SHA1 Message Date
matt abd06d37ef Add TOOL_MACPPCFIXCOFF 2003-12-11 00:28:08 +00:00
rtr fa397391ec No such thing as NONBINOWN, use NONBINMODE instead. 2003-12-08 10:10:46 +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 0921f67df2 No shared libraries on ns32k at the moment - set *PICFLAGS to nothing. 2003-12-07 12:56:45 +00:00
simonb b18e40ea85 Use -O2 for ns32k now. 2003-12-07 12:53:58 +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
lukem cd017885ef Ensure that ${TOOL_STAT} is executable before trying to run it;
it may not be available when performing "make obj" in tools/
when using BSDSRCDIR & BSDOBJDIR (instead of MAKEOBJDIR{,PREFIX}).
2003-12-04 12:15:20 +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
jwise a04b30960c APPDEF files should be installed with mode ${NONBINMODE}, not mode ${BINMODE}.
Picked up via /etc/security:

Checking setuid files and devices:
Setuid additions:
-r-sr-xr-x 1 root wheel 252016 Nov 26 02:27:32 2003 /home/NetBSD/build/dest/i386/usr/X11R6/bin/xterm
-r-sr-xr-x 1 root wheel 4822 Nov 25 23:36:45 2003 /home/NetBSD/build/dest/i386/usr/X11R6/lib/X11/app-defaults/XTerm
-r-sr-xr-x 1 root wheel 828 Nov 25 23:36:45 2003 /home/NetBSD/build/dest/i386/usr/X11R6/lib/X11/app-defaults/XTerm-color
2003-11-26 15:18:00 +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
lukem 2f6833c22a Provide X11FLAGS.OS_DEFINES.
Add some comments
2003-11-17 05:14:21 +00:00
lukem ec71eec11f .c.lo: support per-target COPTS, CPPFLAGS, CPUFLAGS 2003-11-16 16:10:50 +00:00
lukem abdaf2f3be simplify with _MKTARGET_LINK 2003-11-16 14:09:00 +00:00
matt ac869c13c5 Add a AWK for awk. 2003-11-14 05:22:02 +00:00
matt 9e7bfda285 Use ${HOST_LN}
Fix how hppa gets to -lgcc_pic
2003-11-13 05:56:30 +00:00
matt 707e787138 Add a HOST_LN. 2003-11-13 05:54:44 +00:00
dsl 433a97cc58 Set MKDEP_SUFFIXES to get additional targets in .depend instead of using
sed in .afterdepend.  I don't think .afterdepend is used anywhere any more.
2003-11-11 11:43:45 +00:00
dsl cd01ecc4cd Use -- to separate mkdep options from cc ones.
Avoids problems when the cc options start with -fpic.
2003-11-11 11:36:40 +00:00
dsl e6dd2bf0d9 Use modified mkdep(1) (not cat) to merge '*.d' into '.depend'.
Allows some of the postprocessing to be done there instead of a separate
sed script called from 'afterdepend'.
2003-11-10 18:21:55 +00:00
mrg 92ce299301 switch to GDB 5.3 on armeb & m68000. 2003-11-09 02:54:50 +00:00
lukem 1d6c9bac12 The order of items in .SUFFIXES is extremely important!
Revert part of previous and put `.s .S' before `.c' again.

(Fixes recent libkern lossage.)
2003-11-08 23:14:45 +00:00
lukem 820345f78c Remove single suffix inference rules from here; nothing in the tree
relies upon them (AFAICT).

(This fixes the build issue with src/x11, because the .cpp rule in
bsd.x11.mk was being overridden by the .cpp rule here)
2003-11-08 06:06:50 +00:00
lukem 3b34d70c1d Trim .SUFFIXES to only contain those used in this file.
Reorder some variables appropriately.

Add chmod a+x in .sh:, as per SUSv3.
2003-11-08 05:33:37 +00:00
lukem 4c858a92f3 Support MAKEVERBOSE more effectively. 2003-11-07 00:05:24 +00:00
lukem f8780e2dfa Support MAKEVERBOSE when installing man symlinks.
Note; this makes symlink installation more "chatty" in the MAKEVERBOSE=2
case, but results in more consistent operation for that level.
2003-11-06 22:59:03 +00:00
lukem 03ac03264c support MAKEVERBOSE for objdir creation messages 2003-11-06 22:47:22 +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
scw b4816bc53a Use MACHINE_CPU instead of MACHINE_ARCH to select the appropriate
architecture directory under sys/lkm/arch. This permits a single
directory to be used for bi-endian architectures.
2003-11-04 14:52:22 +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
lukem 443c980dcd use ${.PREFIX} instead of ${.TARGET:R} 2003-10-29 02:10:57 +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 45e224e8d4 fix a typo in previous pointed out by lukem 2003-10-28 01:25:33 +00:00
mrg 8dcb3c2e33 allow -traditional-cpp to be overridden when making dependancies 2003-10-27 23:52:57 +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 7f41288379 use ${HOST_SH} instead of sh 2003-10-26 03:29:44 +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