History log of /netbsd-src/Makefile (Results 1 – 25 of 337)
Revision Date Author Comments
# 5278b8e4 08-Sep-2023 riastradh <riastradh@NetBSD.org>

Makefile: Run `postinstall -d /', not `postinstall -d //'.

This happens when doing `build.sh install=/'. The message is less
confusing and it makes postinstall's job simpler for detecting when
it's

Makefile: Run `postinstall -d /', not `postinstall -d //'.

This happens when doing `build.sh install=/'. The message is less
confusing and it makes postinstall's job simpler for detecting when
it's installing to / rather than somewhere else.

show more ...


# 922f5e25 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.


# 439f74ef 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 ...


# dac6dcb8 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 ...


# c5b32978 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 ...


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

G/c spurious whitespace.


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

automatically remove old debug files for modules.


# 1a5f018b 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 ...


# a0f3a067 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 ...


# ae9c7cb9 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 ...


# 4ed00d96 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 ...


# bebf19fa 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.


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

Fix editor mishap


# 87431fdd 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 ...


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

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


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

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


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

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


# 49134635 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 ...


# 9c2811ef 04-Oct-2017 christos <christos@NetBSD.org>

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


# 7c333c1d 11-Apr-2017 christos <christos@NetBSD.org>

don't descend into gnu


# 0e4ae56f 14-Jan-2016 christos <christos@NetBSD.org>

fix direct reference to texinfo, bleh


# cf4dd893 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 ...


# 30074b3e 27-Jun-2015 matt <matt@NetBSD.org>

Add MKCOMPATX11 knob for making X11 compat libraries.


# 589b128f 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}


# 2d0cfa99 03-May-2015 martin <martin@NetBSD.org>

PR 49870: pass the xsrc path to postinstall


12345678910>>...14