summaryrefslogtreecommitdiff
path: root/etc/Makefile
AgeCommit message (Collapse)Author
2022-08-21Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRClukem
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.
2022-06-06build system: Revert all the recent additions of MK[...] knobs thatnia
allow conditionally disabling the building of certain user space programs in the 'base' set. There is not enough consensus that this is the right way and a few people had strong objections, see source-changes-d@.
2022-05-30Introduce libc_aligned.so for evbppc-powerpc32, which providesrin
strictly-aligned versions of memcmp(3), bcopy(3), memcpy(3), and memmove(3). This is used for 403 by ld.so.conf with machdep.no_unaligned variable. With this library, unaligned memory accesses are significantly reduced for 403 (from several hundreds to few tens per sec under heavy load); only ld.elf_so (typically few times per fork) and statically-linked binaries do such access.
2022-05-28mk: Add MKFINGER, MKTALK flags for not buildingnia
talk, talkd, finger, fingerd.
2022-05-28Fix typo. Hopefully this didn't break anyone's build, sorry.nia
2022-05-28mk: Add MKNTP, MKTCPDUMP knobs.nia
2022-05-25mk: Rename the MKMBONE option to MKMROUTING for greater accuracy andnia
to match the related kernel config option.
2022-05-25mk: Allow building base without the MBONE applications by settingnia
MKMBONE=no in mk.conf
2022-01-05Install the missing sh syntax element in the MKDEBUGKERNEL = no test, sokre
that "continue" is a command as intended, and not an invalid last arg to the '[' command (the last arg is required to be ']'). Sometime the proverbial someone should go through this and remove all the obsolete test -o and -a operators, and probably do something with test's usage of ! as well. Not today, or not by me anyway.
2022-01-02Create empty files for the "extra" kernels. Grr I should fix this properlychristos
(run checkflists after building the kernels)
2021-12-29Enable split-debug files for kernels. Enabled by default with MKDEBUG=yes.christos
2021-12-23Put back the code to add DEBUG=-g in config and to add the debug kernelschristos
in the kernel sets. Having the .gdb kernels in the EXTRA_KERNELS does not work, since we only walk through the standard kernels in the Makefile. Also doing DEBUG=-g in config twice does not hurt.
2021-12-20Revert previous, not needed MKKDEBUG does it.christos
2021-12-20PR/55557: Andreas Gustafsson" Introduce a new variable MKDEBUGKERNEL whichchristos
as the name implies, includes a netbsd.gdb inside each kernel set: $ tar -tzvf kern-GENERIC.tgz -rwxr-xr-x 0 root wheel 29398264 Dec 19 12:50 ./netbsd -rwxr-xr-x 0 root wheel 208125880 Dec 19 12:50 ./netbsd.gdb
2021-09-26Restore MKNOUVEAUFIRMWARE and MKRADEONFIRMWARE and make gpufw set unconditionalmaya
Simplifies logic. (Second commit - first one was partial) Restoring MK* requested by mrg on tech-kern discussion https://mail-index.netbsd.org/tech-kern/2021/09/25/msg027695.html
2021-09-25Move DRM-driver firmware from base to its own set, gpufwmaya
This set is only installed on amd64,i386,evbarm. This set is installed on minimal installs and on install media, in case someone needs it for basic driver functionality. Comments: Switched to a single MK tunable for it - that is probably unneeded. An upcoming DRM update will include even fatter firmware, and we'd like to minimize the impact of it.
2021-05-26use the date toolchristos
2020-12-29If MKX11 and MKDEBUG, add the xdebug set to the obsolete file handling.martin
2020-09-09Get rid of 'sync' after each kernel build. It adds a noticeable delay tojmcneill
builds on modern systems and seems to have been added as a workaround for some 2004-era Linux NFS bug. Guessing that the issue has been sorted out in the meantime.
2020-09-03Treat aarch64 and aarch64eb identically with regard to ld.so.confjakllsch
2020-06-01Use the default motd for stable buildsjmcneill
2020-05-18Separate devicetree .dts -> .dtb building from kernel builds. They are nowjmcneill
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-04-27It is KERNEL_DIRchristos
2020-04-05us and them, then!christos
2020-04-04Infrastructure for putting kernel+modules in /netbsd/kernel andchristos
/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.
2019-10-02Split out /rescue to its own set and adapt installers/images to add it.maya
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-09-22Don't mix tabs and spacesgson
2019-07-31PR kern/53590: remove -U DEBUG from config(1) invocation (that is:martin
revert r1.413). DTrace needs the full symbol information.
2019-01-12Install /etc/wpa_supplicant.confroy
2018-10-01Redo xz vs. gzip selection via conditional make expressions, suggestedmartin
by joerg.
2018-09-29Clarify comment, pointed out by maya: we do not expect bootloadersmartin
to understand xz compression, so the kernel.gz stay as they are, only the sets are moving to .tar.xz.
2018-09-29Only test USE_XZ_SETS if it is defined. This is probably not thekre
correct fix, so someone else please do it correctly - either this is the wrong word, or it should be given a default value elsewhere.
2018-09-28Prepare for .tar.xz setsmartin
2018-04-01Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)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-01-09Merge autofs support from: Tomohiro Kusumichristos
XXX: Does not work yet
2017-06-19use -v to get the expanded variable.christos
2017-06-18no need for debug printing.christos
2017-06-18put the dtb files with their kernels.christos
2017-05-21Remove MKCRYPTO option.riastradh
Originally, MKCRYPTO was introduced because the United States classified cryptography as a munition and restricted its export. The export controls were substantially relaxed fifteen years ago, and are essentially irrelevant for software with published source code. In the intervening time, nobody bothered to remove the option after its motivation -- the US export restriction -- was eliminated. I'm not aware of any other operating system that has a similar option; I expect it is mainly out of apathy for churn that we still have it. Today, cryptography is an essential part of modern computing -- you can't use the internet responsibly without cryptography. The position of the TNF board of directors is that TNF makes no representation that MKCRYPTO=no satisfies any country's cryptography regulations. My personal position is that the availability of cryptography is a basic human right; that any local laws restricting it to a privileged few are fundamentally immoral; and that it is wrong for developers to spend effort crippling cryptography to work around such laws. As proposed on tech-crypto, tech-security, and tech-userlevel to no objections: https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of *bad* crypto that was conditional on it, e.g. DES in telnet... That should probably be removed too, but on the grounds that it is bad, not on the grounds that it is (nominally) crypto.
2017-02-07Use make -C instead of cd && make; this is done to preserve the logical pathchristos
for debugging info DW_AT_comp_dir
2015-12-20give the kernel pax invocating the MKREPRO_TIMESTAMP treatment.christos
2015-12-19Freeze the BUILDER and the BUILD_DATE for repeatable buildschristos
2015-08-31Exclude duplicate kernel config names in set generation. Suppress warningsuebayasi
of defining duplicate make(1) targets.
2015-07-23remove the xfree86 reachover makefiles and the vast majority ofmrg
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.)
2014-11-30Add a new build make variable, CONFIGOPTS, which is passed to config(1)uebayasi
when building kernels. Revert "mkernel=*" and "mkernels" in favor of this option. Diff posted on source-changes-d@, approved by (null).
2014-08-10Changes to existing files to enable building AARCH64 userland.matt
evbarm64-el This is clang only. While gcc4.8 supports aarch64, no netbsd support has been written for aarch64 with gcc4.8.
2014-08-06To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-programapb
${TOOL_GZIP}" on the command line, and refrain from passing "-z". If passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
2014-08-06Introduce and use GZIP_FLAGS variable, to fix a quoting errorapb
in the way we tried to use GZIP="-9 ${GZIP_N_FLAG}". For consistency, also use GZIP_FLAGS elesehere in this file.
2014-08-05Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9napb
in the environmentto commands that invoke ${TOOL_GZIP}. This will allow them to use -nT instead of just -n with pigz.
2014-08-05Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarlyapb
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc. This will pass -nT instead of just -n if the gzip program is actually pigz.