Commit Graph

191 Commits

Author SHA1 Message Date
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
christos a8a60eb46c Add support for debugging modules for multi-arch (xen etc.) 2020-05-02 19:44:59 +00:00
christos 18b0456cb4 add more module sets. 2020-05-01 22:21:49 +00:00
christos d8e96a2d4f Infrastructure for putting kernel+modules in /netbsd/kernel and
/netbsd/modules respectively instead of /netbsd and
/stand/<arch>/<version>/modules.  This is only supported for x86,
and is turned off by default. To try it, add KERNEL_DIR=yes in your
/mk.conf and install a system from that build.
2020-04-04 19:50:53 +00:00
maya 50f7458533 Split out /rescue to its own set and adapt installers/images to add it.
This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.
2019-10-02 11:15:59 +00:00
mrg 1ce78da3f1 enable EGL and glamor. partly from maya@.
for x86 and evbarm:
- install headers and libEGL
- install xorg-server glamoregl component
- link xorg drivers against gbm/egl

bonus fix:
- fix some wrongly marked compatx11file files


build tested on shark, sgimips, evbarm64-el, amd64 and i386.
run tested on radeon, intel and nvidia on amd64, including
'modesetting' driver on amd64.  however, my systems disable
it due to llvmpipe so i'm not sure what is happening.
2019-04-16 21:20:50 +00:00
mrg 21af34482f convert make's HAVE_MESA_VER into mesa_ver for set lists 2019-03-10 11:04:08 +00:00
nakayama a5e7377adb Handle compatdir first whether making obsolete lists or not, to
make obsolete lists including compat directory (eg. ./usr/lib/i386)
properly.
2018-04-12 11:49:04 +00:00
christos 7c00b0fa75 add openssl to the list of selectable variables for sets and fix the sets. 2018-02-08 03:27:50 +00:00
uwe 383ae5e1e3 When we ask make about MACHINE_CPU and TARGET_ENDIANNESS make sure we
use the right bsd.*.mk files.
2018-01-10 18:15:18 +00:00
kre 55e43ec5a7 Ignore MAKEFLAGS for snippet makefiles.
(more important than MAKEVERBOSE probably.)
2017-11-22 23:14:01 +00:00
christos e868602e4c Ignore MAKEVERBOSE for snippet makefiles. 2017-11-22 21:31:20 +00:00
christos 83eb8ec86d Document sets programmatically instead of keeping a list that constantly is
out of date.
2017-02-08 18:21:23 +00:00
mrg 84823ddb63 xorg_server_ver doesn't depend upon xorg_server though it probably could.
fixes build isses with header files being missing.

XXX: with no server, they shouldn't be useful, so fix this properly by
not installing them once it is verified to work properly.
2016-08-19 10:23:26 +00:00
mrg 7a224e01cd support xorg_server_ver define, currently settable to 110 (1.10.x)
or 118 (1.18.x).
2016-08-16 01:05:19 +00:00
christos 2cbb3786cb Give up and use TOOL_SED again. 2016-05-25 00:14:47 +00:00
christos ec537ebd0d Fix SED issue differently. 2016-05-25 00:07:20 +00:00
christos 66411eaee2 document CTF 2016-02-21 04:16:36 +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
matt 57bfaf6698 Add nocompatmodules keyword to stop the expanding of a kmod to compatmodules.
Use for compat_netbsd32 on mips
2015-07-09 18:19:34 +00:00
matt aa7105ed8d Need debug sets if ${MKDEBUGLIB} != "no" 2015-06-28 23:49:33 +00:00
matt 30074b3e8a Add MKCOMPATX11 knob for making X11 compat libraries. 2015-06-27 16:21:07 +00:00
matt d4758b70da add pigzgzip to comment 2015-06-27 15:41:26 +00:00
matt 7a365b294c Don't add duplicate compat paths 2015-06-25 05:27:00 +00:00
matt 5fad18f106 Fix spurious wantedness of compat, compattests, kmod, and compatmodules
keywords.  Be more consistent in names.
2015-06-23 00:58:16 +00:00
matt a77c60d70a Rework a little. test MKCOMPATMODULES for KMOD entry autogeneration. 2015-06-22 07:07:10 +00:00
matt b39f12f817 Using archdirs.mk in compat, automagically generate compat entries for
files tagged with compatfile relative to directories tagged with compatdir.
This also applies to compattestsdirs and compattestsfile when
MKCOMPAT != "no" and MKCOMPATTESTS != "no".
Using archdirs.mk in sys/modules/arch, set list entries are automatically
create for all the other defined variants in ARCHDIR_SUBDIR (if any).
This should cut down on set lists getting out-of-sync a lot.
2015-06-22 05:59:59 +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
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
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
enami 6f209f1fc0 List missing compatmodules keyword in the comment. 2014-11-12 03:49:26 +00:00
joerg 51553b2f99 Update for libgcc->libgcc_eh change. 2014-01-29 22:35:52 +00:00
matt 450037c90f HAVE_GDB can trigger a false positive if MKGDB=no so add a check for it
like we do for HAVE_GCC.
2014-01-28 02:54:02 +00:00
joerg e20abf3ab1 Adjust trigger variable for unwind.h to follow changes in libc. 2014-01-26 21:33:53 +00:00
tho 8c14c7a552 Mark all _pic.a archive files with the 'picinstall' flag.
This fixes checkflist with MKPICINSTALL=no.

ok christos@.
2014-01-02 12:54:36 +00:00
joerg aa6e9499ca Rename USE_LIBGCC to HAVE_LIBGCC and retry using it as flag on unwind.h. 2013-10-14 16:00:16 +00:00
joerg cb5311f9d9 Invert logic to try to fix the !clang case. 2013-10-14 11:11:13 +00:00
joerg d06922ddf4 Include compiler-rt and libunwind in libc for Clang/x86 builds. 2013-10-14 01:30:21 +00:00
joerg 5f3aa2dbae Hook up initial build infrastructure for LLDB. Update LLVM/Clang
snapshot to r191390 for some required changed. Re-enable static analyzer
in Clang.
2013-09-29 12:11:59 +00:00
joerg 4a9f992817 Add conditional entry for lld. 2013-09-09 13:04:57 +00:00
mrg 0ca6164e56 rename (new) xorg_drivers to xorg_server -- platforms that build the
actual Xorg server (aka "xfree86 server").

move the list of these platforms from xorg-server/Makefile.common to
bsd.own.mk, so that we can access it easily in distrib.

this should fix most of the current build failures.
2013-06-12 21:35:29 +00:00
mrg 4af42f384d add support for MKXORG_DRIVERS/xorg_drivers keyword, and use it to
mark the xf86-input-mouse files not all platforms use.
2013-06-10 05:04:00 +00:00
joerg 2147852be7 The "gcc" keyword in the set lists is used both as boolean and as list
filter. Skip the HAVE_GCC variables when adding it as boolean, so that
MKGCC=no actually skips the "gcc" entries.
2013-05-06 20:38:42 +00:00
matt b1fc1f902f Explicitly make MKSOFTFLOAT a mkvar.
Add support for endian={1234,4321}
Add EABI flag for ARM.
2013-04-30 16:26:26 +00:00
joerg 2fa1d2471b Introduce MKLIBSTDCXX, defaulting to yes. 2013-04-28 04:05:37 +00:00
joerg ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00
joerg db135d737c Add infrastructure for building MCLinker. 2013-02-27 21:25:05 +00:00
jmmv 88eb066b41 Add the MKKYUA knob.
MKKYUA defaults to no and will remain as such until the import is complete
and validated.

This knob does not currently have any effects on the build as nothing relies
on it yet.  Upcoming imports and changes in this area will all be guarded by
this flag.
2013-02-15 19:49:48 +00:00
nakayama f34b355a3e Follow the change from HAS_SSP to HAVE_SSP. 2013-01-28 13:46:47 +00:00
christos 82e56e3752 - add xdebug set
- document debug better
- fix previous debug fallout.
2013-01-16 21:11:05 +00:00