Home | History | Annotate | Download | only in sets
History log of /src/distrib/sets/mkvars.mk
RevisionDateAuthorComments
 1.47  13-May-2025  nia x11: Separate concepts of having EGL and having glamor/DRMKMS

EGL is becoming an increasingly popular API and it makes sense to
offer it as standard - the package builds suffer otherwise.
It seems to work fine on sparc64 and other ports that don't use
DRMKMS.
 1.46  27-Apr-2025  martin Add pie as set lists attribute
 1.45  24-Feb-2025  martin sort
 1.44  24-Feb-2025  martin Add HAVE_EFI_RT
 1.43  18-Aug-2024  rin distrib/sets/mkvars.mk: Add support to MKGDBSERVER
 1.42  03-Jun-2023  lukem mkvars.mk: sort MKEXTRAVARS and remove dupes

Sort MKEXTRAVARS.
Remove obsolete MKBFD.
Remove entries already in <bsd.own.mk> _MKVARS.no or _MKVARS.yes:
MKCOMPATTESTS MKDTC MKDYNAMICROOT MKFIRMWARE MKMANZ
MKRADEONFIRMWARE MKSLJIT MKSOFTFLOAT MKXORG_SERVER

Sorted output of comparing "before" and "after" is identical
besides those variables listed above.
 1.41  21-Aug-2022  lukem Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC

Remove support for building extsrc/:
1. Makefile: remove do-extsrc target.
2. build.sh: remove options -y and -Y extsrcdir.
3. distrib/sets: remove support for extsrc in various tools
including the options -L ext and -y, and the extsrc sets.
4. doc/BUILDING.mdoc: remove docs for extsrc/, EXTSRCSRCDIR, MKEXTSRC (etc)
5. bsd.own.mk and various Makefiles: remove support for extsrc/,
EXTSRCSRCDIR, MKEXTSRC.

As proposed on tech-kern and tech-userlevel on 2022-01-07
and followed up on 2022-08-21.
 1.40  26-Sep-2020  jmcneill Add HAVE_NVMM and use it to control the build of NVMM related components.
Defined to "yes" on amd64, "no" everywhere else.
 1.39  12-Sep-2020  jmcneill Add HAVE_ACPI and HAVE_UEFI flags to bsd.own.mk and use them to
conditionally include ACPI and UEFI bits instead of relying on adhoc
MACHINE_ARCH tests.
 1.38  04-Apr-2020  christos 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.
 1.37  16-Apr-2019  mrg 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.
 1.36  10-Mar-2019  mrg convert make's HAVE_MESA_VER into mesa_ver for set lists
 1.35  31-May-2018  mrg branches: 1.35.2;
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.
 1.34  08-Feb-2018  christos branches: 1.34.2;
add openssl to the list of selectable variables for sets and fix the sets.
 1.33  08-Oct-2017  christos Add MKSTATICPIE
 1.32  05-Jun-2017  christos add DTC
 1.31  21-Apr-2017  christos branches: 1.31.4;
need to treat as one word.
 1.30  21-Apr-2017  christos TOOL_SED is bogus when building source sets, use builtins instead.
 1.29  16-Aug-2016  mrg branches: 1.29.2;
support xorg_server_ver define, currently settable to 110 (1.10.x)
or 118 (1.18.x).
 1.28  25-May-2016  christos branches: 1.28.2;
Give up and use TOOL_SED again.
 1.27  24-May-2016  christos This should be SED not TOOL_SED since this is what is set from the ${SETSENV}
command in the Makefile!
 1.26  21-Feb-2016  christos document CTF
 1.25  31-Jan-2016  christos handle both binutils 2.23 and 2.26
 1.24  23-Jul-2015  mrg 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.)
 1.23  08-Jul-2015  matt Add g to sed commands so it can deal with more than 2 archdirs.
 1.22  22-Jun-2015  matt Don't put COMPATARCHDIRS or KMODARCHDIRS since we handle them explicitly.
 1.21  22-Jun-2015  matt Need to check MKCOMPATMODULES as well.
 1.20  22-Jun-2015  martin Force ARCHDIR_SUBDIR to empty before including some archdirs.mk - the
different files may set different values (or none at all).
Example: earm has "oabi" as compat, but none as module subdir.
 1.19  22-Jun-2015  matt 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.
 1.18  28-May-2015  rjs Build both xf86-video-radeon drivers for amd64 and i386, just build the
old one for other ports.
 1.17  26-Apr-2015  mrg 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.)
 1.16  01-Mar-2015  mrg 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..)
 1.15  26-Jan-2014  joerg branches: 1.15.4;
Adjust trigger variable for unwind.h to follow changes in libc.
 1.14  16-Jan-2014  christos eliminate use of bsd.sys.mk from Makefiles
 1.13  14-Oct-2013  joerg Rename USE_LIBGCC to HAVE_LIBGCC and retry using it as flag on unwind.h.
 1.12  12-Jun-2013  mrg 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.
 1.11  10-Jun-2013  mrg add support for MKXORG_DRIVERS/xorg_drivers keyword, and use it to
mark the xf86-input-mouse files not all platforms use.
 1.10  30-Apr-2013  matt Add an arch64 flag for use by mips set lists (and powerpc)
 1.9  30-Apr-2013  matt Explicitly make MKSOFTFLOAT a mkvar.
Add support for endian={1234,4321}
Add EABI flag for ARM.
 1.8  28-Jan-2013  nakayama Follow the change from HAS_SSP to HAVE_SSP.
 1.7  05-Nov-2012  alnsn Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386.
 1.6  02-Nov-2011  he branches: 1.6.2; 1.6.6; 1.6.8;
Make sure the value of MKCOMPATMODULES gets imported into sets.subr,
so that the "compatmodules" keyword is properly handled when creating
the set lists. Fixes the build for evbppc.
 1.5  31-Oct-2011  mrg obsolete now useless (and wrongly set to "219" :-) HAVE_BINUTILS.
switch the sense of the gdb and gcc tests to list the platforms not
switched to gcc 4.5 or gdb 7, which is now:

GCC 4.1:
.if ${MACHINE_ARCH} == "alpha" || \
${MACHINE_CPU} == "arm" || \
${MACHINE_CPU} == "m68k" || \
${MACHINE_CPU} == "vax"

GDB 6:
.if ${MACHINE_ARCH} == "alpha" || \
${MACHINE_ARCH} == "hppa" || \
${MACHINE_CPU} == "mips" || \
${MACHINE_CPU} == "sh3" || \
${MACHINE_ARCH} == "vax"

let's go, people! (-:
 1.4  28-Dec-2010  he Introduce the "ssp" attribute derived from HAS_SSP from <bsd.sys.mk>.
Use it to flag entries which should only be included if the target platform
supports SSP. Fixes the build for a bunch of architectures.
 1.3  22-Mar-2010  cegger fix build.sh -N 4 distribution failure:

+ echo 'MKSOLARIS=yes'
xargs: unterminated quote
 1.2  03-Mar-2010  tron "dtrace,zfs" means "MKDTRACE=yes" *and* "MKZFS=yes" which is not what
we want. Invent a flag "solaris" which is the or of those two flags.
 1.1  10-Dec-2009  uebayasi Move make variable extraction & conversion logic from here-documented make
-f- command to an isolated makefile. The list of non-_MKVARS.* variables
are concentrated there.

No functional changes.
 1.6.8.4  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.8.3  23-Jun-2013  tls resync from head
 1.6.8.2  25-Feb-2013  tls resync with head
 1.6.8.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6.6.1  21-Nov-2012  matt Add HAVE_BINUTILS back.
 1.6.2.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.2.1  16-Jan-2013  yamt sync with (a bit old) head
 1.15.4.2  07-May-2015  snj Pull up following revision(s) (requested by mrg in ticket #736):
distrib/sets/mkvars.mk: revision 1.17
distrib/sets/lists/base/mi: revision 1.1102
etc/mtree/NetBSD.dist.base: revision 1.144
share/mk/bsd.README: revision 1.341
share/mk/bsd.own.mk: revision 1.847
sys/dev/microcode/radeon/Makefile: revision 1.3
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.)
 1.15.4.1  09-Mar-2015  snj Pull up following revision(s) (requested by mrg in ticket #575):
distrib/sets/mkvars.mk: revision 1.16
distrib/sets/sets.subr: revision 1.163
distrib/sets/lists/xdebug/md.amd64: revision 1.11
distrib/sets/lists/xdebug/md.i386: revision 1.12
distrib/sets/lists/xserver/md.amd64: revision 1.76
distrib/sets/lists/xserver/md.i386: revision 1.95
external/mit/xorg/server/drivers/Makefile: revision 1.64
external/mit/xorg/server/drivers/xf86-video-radeon-kms/Makefile: revision 1.1
share/mk/bsd.README: revision 1.338
share/mk/bsd.own.mk: revision 1.844
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..)
 1.28.2.1  26-Apr-2017  pgoyette Sync with HEAD
 1.29.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.31.4.1  18-Jul-2017  snj Pull up following revision(s) (requested by jmcneill in ticket #114):
distrib/sets/lists/comp/mi: revision 1.2139
distrib/sets/lists/debug/mi: revision 1.217
distrib/sets/mkvars.mk: revision 1.32
external/gpl2/Makefile: revision 1.14
share/mk/bsd.own.mk: revision 1.1010
tools/Makefile: revisions 1.188, 1.189
tools/dtc/Makefile: revisions 1.1, 1.2
tools/libfdt/Makefile: revisions 1.1, 1.2
Add libfdt
--
New libfdt location
--
tools build glue.
--
Add dtc
--
add MKDTC
--
Add dtc
--
add DTC
--
add DTC
--
No need to set dtc twice.
--
Update for new libfdt location
 1.34.2.1  25-Jun-2018  pgoyette Sync with HEAD
 1.35.2.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.35.2.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed