History log of /netbsd/Makefile (Results 1 – 25 of 337)
Revision Date Author Comments
# b4334579 11-Jun-2023 lukem <lukem@NetBSD.org>

more NBUILDJOBS deprecation

The NBUILDJOBS option was deprecated in 2002;
there's no need to keep warning about it,
remove from params / show-params,
and only document as obsolete.


# 4fb3a6f7 02-Jun-2023 lukem <lukem@NetBSD.org>

build.sh: add show-params operation

Add show-params operation to the makefile target, and reword
params operation to describe what it's done since 2012.

(In 2012-11-04 the Makefile's previous param

build.sh: add show-params operation

Add show-params operation to the makefile target, and reword
params operation to describe what it's done since 2012.

(In 2012-11-04 the Makefile's previous params target was renamed
to show-params and a new params target was added to save a 'params'
file, and build.sh wasn't adapted.)

show more ...


# bf86a759 21-Aug-2022 lukem <lukem@NetBSD.org>

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

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.

show more ...


# e30bd5ae 19-Mar-2022 rillig <rillig@NetBSD.org>

Makefile: fix location of postinstall program for MAKEVERBOSE > 2

If MAKEVERBOSE > 2, each shell command from a make target is echoed.
This resulted in two additional words ending up in the variable

Makefile: fix location of postinstall program for MAKEVERBOSE > 2

If MAKEVERBOSE > 2, each shell command from a make target is echoed.
This resulted in two additional words ending up in the variable
_POSTINSTALL. Noticed by Brad Harder.

Before:
$ make -v _POSTINSTALL MAKEVERBOSE=3
echo .../usr.sbin/postinstall .../usr.sbin/postinstall/postinstall ...

After:
$ make -v _POSTINSTALL MAKEVERBOSE=3
.../usr.sbin/postinstall/postinstall ...

show more ...


# b0768db6 29-Oct-2020 uwe <uwe@NetBSD.org>

G/c spurious whitespace.


# e073ee16 15-May-2020 christos <christos@NetBSD.org>

automatically remove old debug files for modules.


# c0b89289 27-Aug-2019 kamil <kamil@NetBSD.org>

Enhance the support of LLVM sanitizers

Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump ke

Enhance the support of LLVM sanitizers

Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.
Handle all this in one go.

Add bsd.sanitizer.mk to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.

show more ...


# 3c9e8888 26-Aug-2019 kamil <kamil@NetBSD.org>

Correct the build rules of LLVM sanitizers

Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to

Correct the build rules of LLVM sanitizers

Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to distribution sets.
These files are generated only in certain .a files in 64bit version of
sanitizers.

Correct the location of files with LLVM sanitizers. Move the LLVM sanitizer
entries from base to comp files.

show more ...


# f2307f23 25-Aug-2019 kamil <kamil@NetBSD.org>

Rework the LLVM compiler_rt build rules

Register external/bsd/compiler_rt as a _SUBDIR. This will allow to handle
properly includes specific for compiler_rt.

Centralize build_install target for ext

Rework the LLVM compiler_rt build rules

Register external/bsd/compiler_rt as a _SUBDIR. This will allow to handle
properly includes specific for compiler_rt.

Centralize build_install target for external/bsd/compiler_rt.

With the above changes MKOBJDIR is now respected properly for me.

Do not install LLVM sanitizers into TOOLDIR for !HAVE_LLVM.

show more ...


# 0d266ef9 23-Aug-2019 kamil <kamil@NetBSD.org>

Enhance MKSANITIZER support

Add i386 support for LLVM sanitizers.

Add new build phases do-sanitizer-* for building LLVM sanitizers after libs
and before other programs. This phase is important as s

Enhance MKSANITIZER support

Add i386 support for LLVM sanitizers.

Add new build phases do-sanitizer-* for building LLVM sanitizers after libs
and before other programs. This phase is important as sanitizers need
to link with libs and sanitized programs must link with sanitizer runtimes.

show more ...


# d4cfbe92 14-Jun-2019 martin <martin@NetBSD.org>

Use the generated "postinstall" in the objdir for postinstall-check
and postinstall-fix targets - we do not have a simple postinstall script
in the source tree any more.


# ef040b0d 06-Jun-2019 martin <martin@NetBSD.org>

Fix editor mishap


# a433b661 11-Nov-2018 maya <maya@NetBSD.org>

.WAIT for tools to complete.
There's a lot of waits inside tools, but nothing that promises that we haven't
started doing the next subdir in the top level.

Shows up as warnings in the cleandir stage

.WAIT for tools to complete.
There's a lot of waits inside tools, but nothing that promises that we haven't
started doing the next subdir in the top level.

Shows up as warnings in the cleandir stage on releng builds:

cleandir ===> external/mit/xorg/server/drivers/xf86-video-suncg6
cleandir ===> lib/libpam/modules/pam_deny
sh: /home/builds/ab/HEAD-llvm/sparc64/201811091720Z-tools/bin/nbawk: not found
nbmake[9]: "../../Makefile.xf86-driver" line 23: warning: "/home/builds/ab/HEAD-llvm/sparc64/201811091720Z-tools/bin/nbawk '/^PACKAGE_VERSION=/ { match($1, "[0-9]+\\.[0-9]+\\.[0-9]+"); version = substr($1, RSTART, RLENGTH); } END { print version }' /home/source/ab/HEAD-llvm/xsrc/external/mit/xf86-video-ati/dist/configure" returned non-zero status
sh: /home/builds/ab/HEAD-llvm/sparc64/201811091720Z-tools/bin/nbawk: not found

show more ...


# a0bff5b8 02-May-2018 pgoyette <pgoyette@NetBSD.org>

Re-add files that were accidentally deleted in my previous commit.


# d7d6f287 02-May-2018 pgoyette <pgoyette@NetBSD.org>

Synch with HEAD


# 4247f9a7 13-Mar-2018 mrg <mrg@NetBSD.org>

include bsd.clean.mk so that we actually clean up the attempted "params"


# 14fcc895 06-Dec-2017 uwe <uwe@NetBSD.org>

Include somewhat misleadingly named do-x11 into BUILDTARGETS even with
NOBINARIES set (subject to MKX11).


# d892b8b3 06-Dec-2017 uwe <uwe@NetBSD.org>

do-x11 target builds and installs only the tools and libraries, X11
programs are built during the regular recursive build in extsrc. Edit
its description accordingly and move it before do-build to m

do-x11 target builds and installs only the tools and libraries, X11
programs are built during the regular recursive build in extsrc. Edit
its description accordingly and move it before do-build to match their
order in BUILDTARGETS.

While here, drop the "either" clause that has lost its "or" a few
years ago when xfree86 reachover was removed.

show more ...


# 1c0d52a9 04-Oct-2017 christos <christos@NetBSD.org>

Add NOBINARIES, useful to build tools are libraries which is what's needed
for mknative.


# 1d0905c6 11-Apr-2017 christos <christos@NetBSD.org>

don't descend into gnu


# 7cddb9b6 14-Jan-2016 christos <christos@NetBSD.org>

fix direct reference to texinfo, bleh


# fe18025d 23-Jul-2015 mrg <mrg@NetBSD.org>

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 t

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.)

show more ...


# 98fda941 27-Jun-2015 matt <matt@NetBSD.org>

Add MKCOMPATX11 knob for making X11 compat libraries.


# 155e1446 24-Jun-2015 matt <matt@NetBSD.org>

Support building the xorg X11 libraries under MKCOMPAT.
Add XORG_MACHINE_ARCH to compat's bsd.*.mk
Turn xorg makekeys and makestrs into real host tools which are installed into
${TOOLSDIR}


# 1b08a620 03-May-2015 martin <martin@NetBSD.org>

PR 49870: pass the xsrc path to postinstall


12345678910>>...14