Commit Graph

7457 Commits

Author SHA1 Message Date
mrg
5d873ca56c make 'clean' and/or 'cleandir' actually clean all the things. 2018-05-31 09:08:25 +00:00
mrg
a37025c593 introduce MKFIRMWARE that controls where (most) of the contents
of /libdata/firmware and /usr/libdata/firmware are not installed
if set to "no".  from the bsd.README:

MKFIRMWARE      If "no", install the /libdata/firmware directory,
		which is necessary for several drivers: athn(4), bwfm(4),
		ipw(4), iwi(4), iwm(4), iwn(4), otus(4), rtwn(4), urtwn(4),
		wpi(4), ral(4), rum(4), run(4), zyd(4), bcm43xx(4), and
		the Tegra 124 SoC.
		Default: yes on amd64, cobalt, evbarm evbmips, evbppc, hpcarm,
		hppa, i386, mac68k, macppc, sandpoint, and sparc64, no elsewhere.

convert MKRADEONFIRMWARE and MKTEGRAFIRMWARE into FOO.arch lists,
and move their defaults above the general defaults setting.

saves about 12MB in a normal installation for other platforms.
2018-05-31 05:27:45 +00:00
mrg
114ca20a4a use FIRMWAREDIR instead of hard coded /libdata/firmware. 2018-05-30 20:54:06 +00:00
kre
12c661f52d Build fix attempt, use TOOL_AWK (with fallback to "awk") rather than "nawk". 2018-05-29 01:09:49 +00:00
chs
710a39faba add some new files missed by my script:
merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
 - dtrace FBT probes can now be placed in kernel modules.
 - ZFS now supports mmap().
2018-05-28 23:47:39 +00:00
chs
ba2539a980 merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
 - dtrace FBT probes can now be placed in kernel modules.
 - ZFS now supports mmap().
2018-05-28 21:04:59 +00:00
chs
3227e6cf66 import new CDDL dtrace and ZFS code from FreeBSD svn r315983. 2018-05-28 20:52:50 +00:00
christos
c50a4e606c - Introduce :q modifier for make variables and make it double escape $'s so
that passing variables to recursive makes with :q works as expected.
- Revert :Q to work as before.
- Adjust makefiles that use recursive make to use :q

Discussed on tech-toolchain@
XXX: pullup 8
2018-05-27 01:14:50 +00:00
alnsn
1a047feb17 Change LUAL_BUFFERSIZE from 4-8K to 128 bytes for kernel-side Lua.
LUAL_BUFFERSIZE defines how much luaL_Buffer allocates from
the stack. Apparently, 4-8K is too much for the kernel stack.
2018-05-26 20:17:56 +00:00
christos
268058c040 One more possible star. 2018-05-24 19:21:01 +00:00
christos
cf5e80d451 handle '*' entries in rules. 2018-05-24 19:19:37 +00:00
christos
9a9aea2376 refresh the diffs to the latest portable 2018-05-23 16:03:07 +00:00
kamil
e5038c36e9 Cherry-pick upstream patch for internal_mmap() in GCC(.old) sanitizers
Fix internal_mmap() on 32-bit NetBSD platforms

There is need to use internal_syscall64() instead of internal_syscall_ptr().
The offset argument of type off_t is always 64-bit.

http://llvm.org/viewvc/llvm-project?view=revision&revision=333075

PR kern/53261 by Martin Husemann
2018-05-23 11:16:13 +00:00
kamil
245d8e2368 Cherry-pick upstream patch for internal_mmap() in GCC sanitizers
Fix internal_mmap() on 32-bit NetBSD platforms

There is need to use internal_syscall64() instead of internal_syscall_ptr().
The offset argument of type off_t is always 64-bit.

http://llvm.org/viewvc/llvm-project?view=revision&revision=333075

PR kern/53261 by Martin Husemann
2018-05-23 11:14:49 +00:00
nonaka
327f8a3690 gmake: __alloca and __stat are provided only when building with GLIBC.
Fix a build failure on Ubuntu 18.04.
2018-05-23 09:52:27 +00:00
christos
c88c0cb418 add minimal glue to make gdb compile on aarch-64; now configure in gdb/dist
and gmake creates a gdb binary.
2018-05-21 02:10:46 +00:00
christos
aac6defbba don't prepend sysroots when we already have prepended it (breaks X11 binaries) 2018-05-19 21:20:35 +00:00
christos
a04d8a2863 regen 2018-05-19 18:14:51 +00:00
christos
c61c623903 add more casts (needed for c++)
XXX: A better solution would be to use C++ casts.
2018-05-19 18:14:36 +00:00
christos
a18d7413b9 regen 2018-05-19 01:53:24 +00:00
christos
d6b914290e provide bison compatibility for YYLLOC_DEFAULT 2018-05-19 01:52:48 +00:00
christos
b05df594cf Add awk line 2018-05-19 01:51:05 +00:00
joerg
28f297b902 Annotate mixing of enums from different types with an explicit cast. 2018-05-16 13:54:48 +00:00
joerg
da40fa177a Cast enum explicitly to different type. 2018-05-16 13:54:03 +00:00
joerg
9a7065646c Remove obsolete register keywords from C++ code. 2018-05-16 13:53:28 +00:00
maya
078d3f02a6 Add firmware for use with bwfm at pci.
from the linux-firmware tree
2018-05-11 07:43:42 +00:00
maya
e62baafda4 Correct pkgconfig version.
Noted by Robert Swindells on tech-x11, thanks!

(I didn't realize I was grabbing the number from freetype 2.9, rather than
2.9.1)
2018-05-10 13:48:52 +00:00
christos
91960439d5 clean generated file 2018-05-09 13:53:13 +00:00
christos
72d21b09dc remove generated file 2018-05-09 13:52:55 +00:00
mrg
a071c7d55b add freetype2/freetype to the include path. 2018-05-09 08:39:54 +00:00
mrg
6158425ec6 add more include paths for freetype 2.9.1. 2018-05-09 08:15:09 +00:00
mrg
478cac6d4f add some missing -I paths for new freetype. 2018-05-09 08:13:23 +00:00
maya
ec2b028081 Adjust for freetype 2.9.1
Adjusting non-freetype because ftbase.c now includes ftfntfmt.c.
pickup pkgconfig version from pkgsrc pkgconfig file.
2018-05-09 07:28:44 +00:00
snj
3fa70ce921 add a note about our freetype shlib versioning so that it hopefully
doesn't get any more crazy than it already is.
2018-05-09 07:01:59 +00:00
christos
5e984cf5ac add missed patch 2018-05-06 15:14:12 +00:00
christos
f9fbf0f005 fix misapplied patch 2018-05-06 14:46:58 +00:00
kre
2e302b684b Merge tzdata2018e 2018-05-04 10:54:19 +00:00
kre
11364f1d64 Import tzdata2018e from ftp://ftp.iana.org/tz/releases/tzdata2018e.tar.gz
Summary of changes in tzdata2018e (2018-05-01 23:42:51 -0700):

News for the tz database

Release 2018e - 2018-05-01 23:42:51 -0700

    North Korea switches back to +09 on 2018-05-05 (tomorrow!)
2018-05-04 10:53:16 +00:00
christos
bad1191a12 Fix the tools build. 2018-05-03 01:32:17 +00:00
nonaka
4580fbbd43 Restore MAKEDOC. Fix a build failure on non NetBSD host. 2018-05-03 01:12:26 +00:00
roy
bdaa820626 Sync 2018-05-02 22:08:45 +00:00
roy
d1cb50ca95 Import dhcpcd-7.0.4 with the following changes:
* Routing: Fix case when cloning route changes but needs to be replaced
 * DHCP6: Transpose DHCP userclass option into DHCP6
 * DHCP6: Fix sending custom vendor class option
 * Auth: Allow zero value replay detection data
 * Auth: Allow different tokens for send and receive
 * ND6: Warn if router lifetime is set to zero
 * DHCP6: Softwire Address and Port-Mapped Clients, RFC7598
2018-05-02 22:06:41 +00:00
martin
0cfcd47b57 Use crypto code from openssl. Fixes PR bin/53250, suggested by Christos. 2018-05-02 14:43:59 +00:00
christos
f1096f3c6c initialize addr to 0. 2018-05-02 12:12:13 +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
1c314fb9c7 Apply the same fixes from the regular tools dir:
PR/53238: Robert Elz: Disable MKREPRO in tools; the host compiler might
not support the necessary options. This is done thusly:

1. Create Makefile.inc and set MKREPRO=no in it. Change the Makefiles that
   include bsd.own.mk, to include bsd.init.mk which includes Makefile.inc
   first. This will also allow us to control other tools options from a
   single location if we need to.
2. Centralize NOMAN handling.

XXX: pullup-8
2018-05-01 17:42:00 +00:00
nonaka
3d708747ff gmake: Revert configure r1.2 and configure.in r1.2.
> gmake: Apply patch to support GLIBC glob interface v2
>
> http://git.savannah.gnu.org/cgit/make.git/commit/?id=48c8a116
>
> Fix a build failure on Ubuntu 18.04.

Don't apply an imcompatible license patch.
2018-05-01 00:39:58 +00:00
nonaka
f39e32fc5f gmake: Revert dir.c r.1.2.
> gmake: Make this work with glibc glob interface v2
>
> http://git.savannah.gnu.org/cgit/make.git/commit/?id=193f1e81

Don't apply an imcompatible license patch.

Reported by kamil@n.o.
2018-05-01 00:36:57 +00:00
nonaka
a637d6f757 gmake: Make this work with glibc glob interface v2
http://git.savannah.gnu.org/cgit/make.git/commit/?id=193f1e81
2018-04-30 04:17:27 +00:00
jmcneill
bf77b4887b Install ARM ACLE and NEON intrinsics headers on aarch64. 2018-04-29 18:29:29 +00:00