Commit Graph

2675 Commits

Author SHA1 Message Date
christos
5729151aad Be more selective about remapping object directories otherwise we pick
objdump and objcopy with the regex.

XXX: pullup-8
2018-05-24 02:06:31 +00:00
christos
0ff9c30a3a Also substitute ${X11SRCDIR} for the random seed for reproducible builds so
that the random seed is consistent.
XXX: pullup-8
2018-05-20 14:39:53 +00:00
christos
69e74e4309 Need to delete ${DESTDIR} for lint
XXX: pullup-8
2018-05-19 17:44:44 +00:00
christos
144dde66b8 Prevent 'make obj' creating an objdir inside an objdir. This happens the
second time we call 'make obj' in /usr/src/rescue with MAKEOBJDIR set.
XXX: pullup-8
2018-05-19 14:11:30 +00:00
joerg
dd4097f61f Document that EXTERNAL_TOOLCHAIN should be used together with HAVE_GCC
or HAVE_LLVM.
2018-05-09 22:24:01 +00:00
joerg
fcd11b5060 Don't assume that EXTERNAL_TOOLCHAIN is gcc. HAVE_GCC can and should be
defined appropiately if it is an external GCC.
2018-05-09 21:26:59 +00:00
joerg
301645f026 Always provide --sysroot arguments, even for EXTERNAL_TOOLCHAIN. 2018-05-09 13:19:27 +00:00
joerg
cb77297a09 Drop checks for EXTERNAL_TOOLCHAIN for crt*.o. We've been using our own
versions for a long time and haven't relied on external files as such.
2018-05-09 13:18:53 +00:00
nisimura
fbd74c24e3 remove duplicated cobalt in MACHINES.mips= line. 2018-05-04 20:25:04 +00:00
christos
ee08ce7d85 include bsd.hostinit.mk instead of bsd.init.mk 2018-05-04 14:50:40 +00:00
christos
bf7113376a Create a new bsd.hostinit.mk file and put the build definitions for all host
programs there; make all Makefiles that use bsd.hostprog.mk include it.
Namely turn off MKREPRO and don't make lint, man pages, info files etc.
Remove the Makefile.inc files that contained these same settings, and
remove the settings from Makefile.host
2018-05-01 19:59:42 +00:00
christos
c063173b65 PR/53209: David Shao: lang/llvm BFD (NetBSD Binutils nb1) 2.30 assertion fail elflink.c:2824
switch x86 back to old binutils until it is fixed.
(also non pie binaries have broken relocs)
2018-04-24 23:29:13 +00:00
christos
92bd81c604 switch x86 to binutils-2.30 2018-04-15 20:08:13 +00:00
christos
d55a1f07c7 switch everyone to binutils.old 2018-04-14 23:14:12 +00:00
mrg
1b91b9705d switch vax to GCC 6. thanks to Krister and Maya for the fixes.
it now appears as disfunctional as GCC 5 for vax.  ok ragge@.

this was the final GCC 5 platform in -current.  hooray!
2018-04-07 21:38:30 +00:00
mrg
ffba61a5f0 switch m68000 and m68k to GCC 6. ok mlelstv. 2018-04-05 22:38:58 +00:00
ryo
fe33aa2786 Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)
- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
2018-04-01 04:35:01 +00:00
kamil
9ad30f3b4d Drop the USE_LIBTRE build option
libtre cannot be used any more as a replacement for regex(3).
Tt does not build and the library development is stalled in upstream.

Proposed on mailing list.

Sponsored by <The NetBSD Foundation>
2018-03-31 14:24:54 +00:00
christos
21dde3b595 Don't barf if the ctf tools are not installed.
[perhaps warn?]
2018-03-15 13:44:45 +00:00
mrg
5ae6500fa6 complete the switch to xorgproto over *proto split packages
- remove old package makefiles
- update makekeys for Xfuncproto.h being a real file now
- clean up deleted package X11SRCDIR.pkg settings

this should be functionally equivalent.
2018-03-14 23:41:05 +00:00
mrg
7e4cdcfd86 add xorgproto srcdir. 2018-03-14 07:35:56 +00:00
mrg
12fffe5478 define LIBXFONT2. 2018-03-11 09:56:44 +00:00
mrg
6e5b391377 stop building libXfontcache as it is obsolete for a decade. 2018-03-11 07:18:49 +00:00
christos
3b0596539e everyone switched to openssl-1.1 2018-03-09 12:58:59 +00:00
christos
7d278c3d47 switch everyone but vax to OpenSSL1.1. 2018-03-05 21:14:34 +00:00
mrg
589a0b0fde switch sh3 to GCC 6. tested on landisk in emul and hardware.
actually do this by reversing the check to look for m68* and vax
to choose GCC 5, and otherwise default to GCC 6.
2018-03-05 09:17:42 +00:00
mrg
5b6553d1f0 switch arm ports to GCC 6.
this is the last GCC that will support these ports:
- epoc32
- netwinder
- shark
- acorn32
- cats
- most hpcarm systems (only NETBOOKPRO and WZERO3 remain)
2018-03-05 08:08:06 +00:00
mrg
ae1f25356d swtich ia64 to GCC 6. 2018-03-05 07:03:27 +00:00
christos
edf420ad0b switch ppc to OpenSSL-1.1, use MACHINE_CPU consistently. 2018-03-05 00:24:01 +00:00
christos
be5fb36d0b last I checked powerpc64 was 64 bits, so it needs _XSERVER64.. 2018-03-04 23:47:55 +00:00
mrg
53585d3968 switch powerpc, mips and arm ports to GCC 6.
all kernels that build with gcc 5 still build.
several platforms tested in emulators and real hardware.
2018-03-04 22:47:49 +00:00
christos
004b7cf33b switch sh3 to openssl-1.1 2018-03-04 00:17:05 +00:00
christos
5566d6284a switch arm to openssl-1.1 2018-03-03 00:22:04 +00:00
snj
28c97c06b5 remove mention of /usr/X11R6 2018-03-01 06:34:23 +00:00
martin
a253d8fa7f Switch sparc over to openssl 1.1 again - thanks to christos for fixing it! 2018-02-26 12:26:24 +00:00
chs
3084abc1e1 add DTRACE_OPTS and HOST_DTRACE_OPTS to allow disabling various optimizations
that interfere with using dtrace.  use them when MKDTRACE=yes.
2018-02-25 18:53:23 +00:00
mrg
2e19323388 add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts
to bsd.prog.mk.  use them instead of hard coding various lists
of libraries for krb5.

this fixes static builds.
2018-02-25 00:16:48 +00:00
skrll
366599d113 Switch hppa to gcc 6.4 2018-02-23 21:16:01 +00:00
martin
32bba72871 Switch sparc back to old openssl - needs more work and testing. 2018-02-20 12:49:40 +00:00
christos
01b941a695 switch sparc to openssl-1.1 2018-02-19 20:52:09 +00:00
mrg
9e8cffe5e6 switch i386, sparc and sparc64 to GCC 6. 2018-02-17 21:46:15 +00:00
christos
c5477af646 switch amd64 to gcc-6. Thanks mrg for all the work! 2018-02-11 03:44:53 +00:00
christos
3fa42dbf15 missing backslash 2018-02-09 04:38:24 +00:00
christos
0c048d5af5 switch everyone to openssl.old 2018-02-04 03:19:51 +00:00
mrg
6d188dd0d7 convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
  GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code.  we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)
2018-02-02 01:02:39 +00:00
christos
dcdb6449b4 explain how to allow coverity to use sysroot 2018-01-27 23:59:17 +00:00
skrll
ac34435581 Remove port-acorn26
OK core@
2018-01-24 09:04:40 +00:00
christos
d2f1057c31 white space for readability. 2018-01-22 17:34:01 +00:00
christos
4dca937651 Disgusting and evil hack to elide coverity options that break production
of coverity output when present [userland portion]

    - --sysroot
    - -fstack-protector
    - -std=gnu99
    - --nostdinc
    - -fPIE

The critical one here being --sysroot because this means that we need to
use the actual system headers while building (or chroot/sandbox appropriately)
2018-01-22 17:33:01 +00:00
jmcneill
a5c866b6cf Import NVIDIA Tegra XUSB firmware for Tegra124 and Tegra210. Installation
of this firmware is controlled by the MKTEGRAFIRMWARE option, which
defaults to yes on evbarm and evbarm64 and no everywhere else.
2018-01-07 20:59:24 +00:00