Commit Graph

2924 Commits

Author SHA1 Message Date
jakllsch 80196aad5b Teach bsd.endian.mk about aarch64eb 2020-09-02 15:17:19 +00:00
mrg 8b6f6bbcd0 make GCC 8 consumers to use gcc.old. 2020-08-20 03:08:07 +00:00
mrg 16596b51e5 switch netbsd/m68k to GCC 8.
special thanks to rin@ for fixing many things and figuring out
what was the major issue (STACK_BOUNDARY.)
2020-08-16 06:43:05 +00:00
mrg 1956332deb update GCC 7 version to nb4 20200810, and fix the unknown GCC version
error assignment from "=?" to "?=" so it works as designed.
2020-08-11 09:51:57 +00:00
mrg 65244620f1 fix various missing transforms for man page, ala PR#55422.
add method to transform both the "__foo__" and "@foo@"
version of various transforms, while upstream are converting
from the former to the latter it seems.  convert all the
common transforms to this method.

expand the grep for .pc files to look for missing @foo@
fixes to the man page genration, and ignore a few things
(thanks uwe@ - .IN lines, and stuff between tab(@) and .TE.)

xorg-server __default_font_path__ -> @default_font_path@,
and xfree86 transform xconfigdir, xkbdir, and modulepath
using new both method.
2020-08-10 09:23:37 +00:00
christos 7b0a191e28 Expose 64 bit fileystems API's on Linux and make the default FS API 64 bits
Should unbreak newfs's of fs's, using the tool version of newfs.
2020-08-09 21:13:38 +00:00
skrll 97f524ff8a Don't define _LKM. LKMs are dead. Long live modules. 2020-07-27 08:26:09 +00:00
rillig 3a4242ba1d share/mk/bsd.README: fix typo 2020-07-26 09:22:43 +00:00
tsutsui 090a690dad Switch x68k to HAVE_XORG_SERVER_VER=120.
Confirmed both color "Graph" VRAM and mono "Text" VRAM servers on XM6i.
2020-07-21 14:42:44 +00:00
tsutsui 2414371414 Switch ports using MI wsfb drivers to HAVE_XORG_SERVER_VER=120.
Xorg wsfb servers from 1.20 for dreamcast (16bpp), hp300 (8bpp), and
luna68k (1bpp) work fine even on NetBSD 9.0, and zaurus is also
confirmed working.

Discussed with mrg@ and macallan@ on tech-x11:
 https://mail-index.netbsd.org/tech-x11/2020/07/thread1.html#002098
2020-07-20 14:24:13 +00:00
tsutsui 879355ad78 Fix typos in ${X11INCS.DIX} include paths. PR/55500 2020-07-20 13:55:08 +00:00
mrg 6ba881664e MKLLVMRT is automatically enabled on x86 and arm64, not mesa18+. 2020-07-13 07:22:51 +00:00
chs af5290a884 the x86 xen and non-xen modules are identical,
so remove the unneeded extra copies.
Xen kernels now use the same modules as native kernels.
2020-07-04 21:02:15 +00:00
maxv f235863a23 Enable trace-cmp. 2020-07-03 16:12:16 +00:00
jmcneill 891b1559b6 Document OBJMACHINE_ARCH 2020-07-02 10:22:28 +00:00
lukem 1defdf0961 bsd.dep.mk: fix "make tags" (again)
[repeat revision 1.85]

Fix "make tags" to actually build a tags file:
- Use !commands() instead of !target(), so that the rule actually works
- Write to ${.OBJDIR}/tags for read-only source (don't know why ${.TARGET}
  isn't sufficient).
- Only match *.[cly] from ${.ALLSRCS} - just excluding *.h causes failures
  because of ${targ}: subdir-${targ} in bsd.subdir.mk.

Thanks to uwe@ for assistance.
2020-07-01 07:38:29 +00:00
lukem c72411c4b5 bsd.dep.mk: revert 1.85 (for now)
Revert my recent 1.85 revision that fixed "make tags".  It causes too
much build breakage elsewhere in the tree that needs to be resolved first.

Issues include:
- Directories using TESTS_CXX with .cpp and .cxx extension instead of the
  default .cc extension (see bsd.prog.mk). Most of these have been fixed.
- external/gpl3/gcc build of .cc files. (No idea what's wrong there).
2020-06-22 01:04:26 +00:00
lukem caf254b942 document PROGS and PROGS_CXX, and default c++ SRCS 2020-06-21 13:29:05 +00:00
lukem 6445c9ec5a bsd.dep.mk: fix "make tags"
Fix "make tags" to actually build a tags file:
- Use !commands() instead of !target(), so that the rule actually works
- Write to ${.OBJDIR}/tags for read-only source (don't know why ${.TARGET}
  isn't sufficient).
- Only match *.[cly] from ${.ALLSRCS} - just excluding *.h causes failures
  because of ${targ}: subdir-${targ} in bsd.subdir.mk.

Thanks to uwe@ for assistance.
2020-06-21 03:39:21 +00:00
christos 2f0bfbf344 Rename blacklist -> blocklist 2020-06-15 01:57:29 +00:00
joerg 001816e78d sun2 and vax have no native TLS support, so avoid using modern jemalloc
as it has a couple of nasty race conditions when using TSD.
2020-06-06 22:06:42 +00:00
jmcneill ea2cc58941 Set USE_XZ_SETS for evbarm-aarch64 2020-06-02 14:26:01 +00:00
christos 6e8b36d108 1. if ${LIBISPRIVATE} == "pic", create _pic.a so that we can embed the library
to another shared object
2. Don't compare ${LIBISPRIVATE} to "yes", because there are 3 places in
   Makefiles which set it to empty (this was a bug)
3. For private libraries, don't create .so* files
2020-06-01 14:39:14 +00:00
christos e4bfa5b301 Make libuv private, requested by joerg@ 2020-05-30 20:47:58 +00:00
christos dc0fae96c0 Allow LIBISPRIVATE to build a pic version of itself for embedding into
other shared libraries.
2020-05-30 19:51:32 +00:00
mrg 0fe23762b1 remove useless MACHINE_ARCH == sh3 check for GCC 8. 2020-05-29 01:20:43 +00:00
mrg 8b564e4261 switch vax to GCC 8. testing in simh shows the same set of bugs. 2020-05-29 00:14:07 +00:00
jmcneill 5c836d1bfa Set MKDTB=yes for armv6 2020-05-27 10:53:18 +00:00
mrg 4aaecf0671 switch alpha to GCC 8. tested by rin@, same atf result as with GCC 7.
thanks rin!  only vax, sh3 and m68k left.
2020-05-27 06:06:37 +00:00
christos b43a201fc6 Move sun2 and alpha to new binutils 2020-05-26 19:29:59 +00:00
rin 0ff014d53b Add GNU_ARCH for earmv5hf{,eb}. 2020-05-24 21:09:49 +00:00
christos 0f8b984644 Add libuv 2020-05-24 19:58:02 +00:00
martin 2628ec890f Switch sparc64 to binutils 2.34 2020-05-20 15:43:29 +00:00
rin 1436d99d73 Fix dtblist; our echo(1) does not interpret \t. 2020-05-19 08:59:36 +00:00
rin c08d500faf Try to fix fallout from addition of dtb.tgz; MKDTB was added to both
_MKVARS.yes and _MKVARS.no. Remove it from the former.
2020-05-19 08:07:44 +00:00
jmcneill 043d88a7c1 Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
2020-05-18 21:19:34 +00:00
maxv 50bfcd3de6 Don't add KCOV instrumentation on top of the KUBSAN instrumentation,
this is useless and too bloated.
2020-05-15 19:07:01 +00:00
skrll 26371ac3a2 Update the list of hppa options to build working kernel modules. 2020-05-11 10:21:24 +00:00
maxv e4eb677baa Pass -Wno-unused-command-line-argument for LLVM, discussed on
tech-toolchain@.
2020-05-10 06:38:24 +00:00
skrll 533e6b2e7c switch hppa to new binutils (2.34) 2020-05-05 20:47:38 +00:00
christos 4f121a6996 document MKCOMPATMODULES 2020-05-02 19:46:58 +00:00
rin 021d8db65a Fix previous; add missing <module>.kmod.debug to realall. 2020-05-02 09:15:30 +00:00
christos 0e244e0f79 Install <module>.kmod.debug files for kernel crash debugging. 2020-05-01 22:23:00 +00:00
mrg 89f8a416b9 invert the GCC 7/8 conditional.
only alpha, vax, m68k and sh3 are still on GCC 7.
2020-04-27 03:15:12 +00:00
mrg 17ce967706 switch mips to GCC 8. 2020-04-26 22:06:01 +00:00
skrll 76f1fdb56e Switch hppa to gcc 8 2020-04-26 20:13:43 +00:00
bouyer 224cc4e632 Add /usr/include/xen/intrdefs.h to sets
Add xen to KLINKFILES for amd64/i386
2020-04-25 15:46:59 +00:00
christos d8fa6d0b7a Swirch arm to the new binutils 2020-04-23 19:24:53 +00:00
christos 649d42183a need more || 2020-04-15 23:10:27 +00:00
christos 851d50d82c fix backslash 2020-04-15 23:09:28 +00:00