Commit Graph

2502 Commits

Author SHA1 Message Date
christos
a481ce46bc Unbreak LLVM MKREPRO=yes builds (since the build system sets MKREPRO now) 2016-02-20 16:36:08 +00:00
christos
678012db01 Provide a variable MKTOOLSDEBUG to build debugging versions of tools. 2016-02-20 15:18:46 +00:00
macallan
c04b415846 switch powerpc ports to new binutils 2016-02-19 18:47:24 +00:00
plunky
a4a650b6a4 use pcpp front end rather than libexec/cpp directly, since commandline
options may not be handled by the latter
2016-02-09 20:44:26 +00:00
skrll
d0d6f47d6b Remove the .SUNW_ctf sections when converting form ELF -> a.out by
updating OBJCOPY_ELF2AOUT_FLAGS
2016-02-08 10:39:09 +00:00
christos
180d9e44e1 fix pasto 2016-02-07 14:31:21 +00:00
riz
91a33a8e4a Back out unintended changes committed with last. 2016-02-06 16:58:31 +00:00
riz
50bf67899c Don't test dtrace-related variables until after they've been set. 2016-02-06 16:56:23 +00:00
christos
523945ce28 switch i386 to gdb-7.10.1 2016-02-03 15:28:02 +00:00
christos
28342b84d6 switch amd64 to gdb-7.10.1 2016-02-03 03:26:02 +00:00
christos
c82b466b59 everyone, back to gdb.old 2016-02-02 22:35:46 +00:00
christos
a9d0c035fe Switch i386 to new binutils. 2016-02-02 20:23:24 +00:00
christos
869efc6e11 Add the missing CTFMERGE step. 2016-02-02 18:38:10 +00:00
christos
8d0597fca7 Document NOCTF, NOPIE. 2016-02-01 15:00:43 +00:00
skrll
d3cd10ccbc Switch hppa to binutils 2.26 2016-02-01 12:56:06 +00:00
christos
cb68fe56e3 flip amd64 and evbarm to the new binutils 2016-01-31 18:47:14 +00:00
christos
dc084e400e Introduce NOPIE and NOCTF so that standalone programs build properly. 2016-01-31 15:30:14 +00:00
christos
e1356d5e2a Make ctfconvert remove the debugging symbols after it is done converting them. 2016-01-30 04:07:27 +00:00
christos
3495c5242f If we are building CTF, keep debugging symbols. 2016-01-30 03:38:39 +00:00
christos
33f4505796 new binutils will be 2.26 2016-01-29 15:33:51 +00:00
christos
3873a83aa9 back to binutils.old now that it works. 2016-01-26 21:19:20 +00:00
christos
4a9e204fe8 back to use binutils since the path is hard-coded everywhere! 2016-01-26 19:09:56 +00:00
christos
4bab817c32 external binutils and gdb variables. 2016-01-26 17:47:06 +00:00
christos
c84bade02b Add tool cvslatest 2016-01-24 20:15:11 +00:00
christos
ffeb8dbf4e Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
riz
673c699d5d Build DTrace userland by default on i386, amd64 and earm* 2016-01-22 21:55:51 +00:00
christos
edabda5336 group by directory. 2016-01-10 16:22:57 +00:00
dholland
acb0b70b4a Apparently it's important to do
-Wp,-iremap,${DESTDIR}:
and not
  -Wp,-iremap,${DESTDIR}/:/

Why this should matter for strings where the trailing slash is
present, I dunno. But it does.

Fixes the MKREPRO problem where the unfixed path to lfs_accessors.h
appears ina bunch of bins.
2016-01-10 06:13:21 +00:00
dholland
2e9c8f6e0f For MKREPRO, substitute DESTDIR before NETBSDSRCDIR; then it has a
chance of working if DESTDIR is under NETBSDSRCDIR (as happens with
default objdirs when building someplace random other than /usr/src...)
2016-01-10 03:59:34 +00:00
christos
3619260b5b - use -fdebug-regex-map to remap one style of object dirs. There are others.
- change DESTDIR to nothing so that we don't get // in the front
- apply the mappings to both c and c++
2016-01-09 02:06:22 +00:00
christos
9b4e848824 Add the pthread libraries, documented already in bsd.README; sort 2016-01-01 17:06:21 +00:00
christos
6b4079e461 Add a prefix translation map for debugging symbols. Note the use of variable
indirection so that DW_at_producer that contains the compilation command
remains the same: readelf --debug-dump foo.debug
2015-12-22 16:46:56 +00:00
wiz
2279c2dafc Fix pasto. 2015-12-19 00:25:50 +00:00
christos
72e3b03409 Sort texinfo dir file for MKREPRO 2015-12-18 18:57:56 +00:00
joerg
be2d9aaa80 Don't set TOOL_GREP to something which doesn't exist, just use the host
tool for now.
2015-12-01 22:18:26 +00:00
kamil
1d5ce4bbb4 Add new predefined value for DPADD: LIBPANEL 2015-11-22 04:59:15 +00:00
pooka
33a1fe2a2d describe => rumpdescribe 2015-11-15 13:50:10 +00:00
christos
3e50f3c769 LIBEXECINFO 2015-11-07 23:53:28 +00:00
joerg
0bc53a588b LIBEXECINFO 2015-11-07 23:41:58 +00:00
jmcneill
01606544ce Build xf86-video-modesetting on evbarm 2015-11-06 01:17:08 +00:00
phx
d188e23f41 Build a wsfb Xorg server for amiga. 2015-11-04 17:06:23 +00:00
dholland
3adc6f5a85 because I'm feeling tetchy, implement "make describe" for everything that
has man pages.
2015-10-19 17:08:11 +00:00
pooka
fd591903fa Allow "make describe" to descend into SUBDIRs. 2015-10-19 16:17:14 +00:00
rjs
5f50d03486 Add Xorg server to ibmnws build. 2015-10-13 20:12:03 +00:00
mrg
ef952a545a add xf86-video-nouveau 2015-10-13 03:14:16 +00:00
rjs
5d347183ce Build Xorg server and wsfb driver for mac68k. 2015-09-30 22:58:02 +00:00
mrg
a5c0f21e52 move GCC 4.8 users to using gcc.old. should be no functional change. 2015-09-25 08:24:20 +00:00
uebayasi
45ccdffc42 Revert previous. It was not wrong, but not necessary for everyone.
(If really wanted, *.a generation rule can be easily overriden locally.)
2015-09-08 16:06:42 +00:00
uebayasi
463bd4e74c Order object build alphabetically. 2015-09-07 06:42:07 +00:00
christos
70adad9195 switch everyone to gdb 7.9.1 2015-08-17 17:36:06 +00:00
christos
f88da81e7d switch powerpc to gdb 7.9.1 2015-08-17 12:50:00 +00:00
christos
6e6c9ec1c4 switch vax to gdb-7.9.1 2015-08-17 10:16:47 +00:00
christos
3c54d3912b add sun2 2015-08-17 10:12:29 +00:00
christos
9a44f62457 switch sparc64 to gdb-7.9.1 2015-08-17 10:06:29 +00:00
christos
320e0a7f78 switch alpha to gdb-7.9.1 2015-08-17 09:58:52 +00:00
christos
f12867365f switch m68k to gdb-7.9.1 2015-08-17 09:08:03 +00:00
christos
339d78c1ab add sparc 2015-08-17 08:54:55 +00:00
christos
6db8f24a8e switch i386 to gdb-7.9.1 2015-08-17 08:31:45 +00:00
christos
c0ef042b29 switch amd64 to gdb 7.9.1 2015-08-16 09:13:30 +00:00
dholland
ba69475758 Remove CreationDate from the header of output postscript. Also, feed -n
to gzip when compressing so it doesn't store the timestamp in the file
header. For MKREPRO, but unconditional as the information omitted isn't
particularly useful. PR 50116.
2015-08-04 08:36:14 +00:00
tsutsui
e2c773cb5b Revert rev 1.359 which broke libsa builds. PR/50101 2015-07-29 14:35:04 +00:00
mrg
cf4dd8937a remove the xfree86 reachover makefiles and the vast majority of
the support in the rest of the source tree.

X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)
2015-07-23 08:03:24 +00:00
mrg
08c866994a add rstart and showfont. 2015-07-23 07:44:46 +00:00
mrg
8e27198081 add libXpresent. 2015-07-23 05:44:26 +00:00
joerg
a7c9fae5a0 Simplify the build of library archives by no longer doing a topological
sort.
2015-07-20 12:20:26 +00:00
matt
613066da23 Add _MKTARGET_LINK 2015-07-09 14:50:08 +00:00
chs
f047745321 reapply some fixes to make multi-threaded ctfmerge work
that were lost in the overzealous resync with freebsd.
remove the hacks which were applied to work around those problems.
2015-07-06 00:21:51 +00:00
matt
30074b3e8a Add MKCOMPATX11 knob for making X11 compat libraries. 2015-06-27 16:21:07 +00:00
matt
589b128fbc Support building the xorg X11 libraries under MKCOMPAT.
Add XORG_MACHINE_ARCH to compat's bsd.*.mk
Turn xorg makekeys and makestrs into real host tools which are installed into
${TOOLSDIR}
2015-06-24 22:20:24 +00:00
matt
a517e85e1a Don't add anything to CFLAGS/LDFLAGS on mips64 is BSD_MK_COMPAT_FILE is set. 2015-06-24 13:42:53 +00:00
matt
8056744aa6 Default MKPICLIB on powerpc64 to yes 2015-06-23 01:38:17 +00:00
matt
eebdf6214d Default MKCOMPATMODULES to yes for mips64e{b,l} 2015-06-22 06:47:26 +00:00
matt
0499097e0e Add MKCOMPATTESTS knob to enable building and installing the NetBSD test
suite as part of doing MKCOMPAT
2015-06-19 18:13:52 +00:00
pooka
0dcc02b3ce add READELF and STRINGS 2015-06-18 22:29:12 +00:00
matt
6811dc67f2 Make LIBCRT* depend on the right files if MLIBDIR from MKCOMPAT is defined. 2015-06-07 15:04:28 +00:00
mrg
69443c441c fix MKDEBUG vs parallel builds. split the creation of the final
.so file from the main link of it, and use the main file as the
input for both the .so output and the .so.debug file.  for MKDEBUG
builds we now:

	(a) create the (new) .so.full file
	(d) create the .so.debug file
	(c) create the (installable) .so file

for other builds, we simply use the same rule for (a) to create (c).

this stops the .so.debug rule from modifying the .so rule's target
and leading to mayhem.

see this thread for more details:
   http://mail-index.netbsd.org/tech-toolchain/2015/06/03/msg002616.html
2015-06-04 06:01:24 +00:00
martin
dbff044260 Cosmetics: simplify MKCOMPAT default settings 2015-06-04 05:56:23 +00:00
christos
acb599fdb6 Strip the debug symbols via a temporary file, atomically replacing the full
random access archive to avoid races.
2015-06-02 23:00:25 +00:00
martin
fd0a6d9af6 Enable MKCOMPAT for earm*, now that it works. Ok: matt@ 2015-05-29 14:15:14 +00:00
rjs
550917d61d Build both xf86-video-radeon drivers for amd64 and i386, just build the
old one for other ports.
2015-05-28 14:36:44 +00:00
matt
350927cf34 Compile ARM apcs with -marm (no thumb). 2015-05-28 04:08:48 +00:00
rjs
b596b9b9be Add xf86-video-intel-old to the build. 2015-05-21 00:12:10 +00:00
martin
a7b45466db No kernel modules for acorn26 2015-05-12 08:25:28 +00:00
matt
f1588c096e For mips64, build kmodules using N64 ABI 2015-05-02 18:18:13 +00:00
mrg
aaabec45f9 two changes to radeon drm firmware:
- only install it by default on x86, set new MKRADEONFIRMWARE variable
- install in /libdata, so that separate /usr systems work

(this still doesn't solve PR#49811, which possibly could be handled by
having them being a kernel module loaded by /boot.)
2015-04-26 21:37:22 +00:00
pooka
70483504a1 Build ZFS by default only for amd64, not i386.
If we build i386 for 486 (i.e. no 64bit atomic ops) and as a substitute
for the modern hardware that the code was designed to run on use solid
workarounds like external/cddl/osnet/lib/libzpool/atomic.c, there's not
much point in anything.
2015-04-22 19:43:45 +00:00
mrg
df9c189fea remove support to look for GCC 4.5 in gcc.old. 2015-04-08 06:03:09 +00:00
mrg
22ccd76416 fix the description of MKX11RADEONKMS, as pointed out in PR#49753. 2015-03-17 01:58:29 +00:00
mrg
50e581ea01 add build framework to choose between xf86-video-ati 6.x (UMS/KMS)
and 7.x (KMS only), and switch x86 to the latest (KMS only) version.

(if someone can make x86 install both radeon_drv.so.[67] and leave
the default symlink to .7, that would be nice.  renaming it so that
it's easier to choose via xorg.conf is a little more tricky..)
2015-03-01 07:46:04 +00:00
snj
9235716d61 prune a number of now-nonexistent xorg components 2015-02-26 04:49:16 +00:00
jmcneill
889ad2c6eb Build and install Mesa GBM buffer management library (libgbm). 2015-02-23 00:09:30 +00:00
chs
b0a14f469c switch m68k to use gcc48. 2015-01-23 03:43:24 +00:00
mrg
0e4eb59327 sets.subr:
support machine=<xxx>, machine_arch=<xxx>, machine_cpu=<xxx> tags.

dri7: build Mesa 7 r300_dri.so for x86 platforms.
2015-01-05 03:45:31 +00:00
mrg
a4ee9f7109 fix MKGCCCMDS=no, and turn it on by default for sun2. 2015-01-05 01:52:23 +00:00
mrg
fbfbb2ece8 move xorg-server.pc's SDK_REQUIRED_MODULES into the local Makefile. 2014-12-30 22:07:21 +00:00
christos
abe684efd6 protect the variable name, and explain why setting it does not work. 2014-12-19 22:25:39 +00:00
christos
4a9ac4bbf0 Explain why used to fold case when deciding if we are going to install manual
page links, and change the behavior not to do this anymore.
2014-12-19 21:43:11 +00:00
mrg
c0fe630cea switch PPC to GCC 4.8. 2014-12-18 02:28:34 +00:00
mrg
e72a1182e8 add X11SRCDIR entries for the new separated mesa components. 2014-12-16 06:04:10 +00:00
erh
6830ef879f PR toolchain/9618: add ".d" to MKDEP_SUFFIXES so the depend files are rebuilt
if any of their dependencies (i.e. the files they refer to) are changed.
This allows changes to transitive included headers to be handled properly.
2014-12-01 01:34:30 +00:00