History log of /netbsd/build.sh (Results 1 – 25 of 373)
Revision Date Author Comments
# dd6154bc 18-Jul-2023 lukem <lukem@NetBSD.org>

build.sh: use mk.conf (if present) as MAKECONF

Set MAKECONF to mk.conf in the same directory as build.sh
(i.e., the top of the source tree) if mk.conf is present.
This means unprivileged users can b

build.sh: use mk.conf (if present) as MAKECONF

Set MAKECONF to mk.conf in the same directory as build.sh
(i.e., the top of the source tree) if mk.conf is present.
This means unprivileged users can benefit from mk.conf(5)
semantics without write privileges to /etc/mk.conf, and
also simplifies per-source-directory configuration.

Fail early if $MAKECONF is empty, since build.sh will fail
anyway after rebuilding nbmake.

Ensure that the computed MAKECONF isn't empty, and then
always set MAKECONF in the makewrapper (nbmake-$MACHINE).

Improve some formatting consistency in BUILDING.mdoc,
(even if BUILDING is generated without markup).

show more ...


# ee9a7fe4 13-Jun-2023 christos <christos@NetBSD.org>

fix build.sh wrong variable use that caused nbmake to be always rebult
(Jan-Benedict Glaw)


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


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

build.sh: fix MKUNPRIVED comment

I renamed UNPRIVED to MKUNPRIVED 20 years ago, and missed a comment.


# 334c6821 16-May-2023 lukem <lukem@NetBSD.org>

build.sh, BUILDING: consistency improvements

Consistently use "show", instead of sometimes using "display" or "print".
Fix mdoc markup (even though BUILDING is raw text).
Document help, -P, -?


# df09bc02 23-Apr-2023 uwe <uwe@NetBSD.org>

build.sh: drop -lrumpdev hack introduced in previous

The existing trick in sys/rump/librump/rumpdev/rump_dev.c was not
updated after the renames in the kernel. kudos to riastradh.

PR kern/56599


# 4ac1c0e2 23-Apr-2023 uwe <uwe@NetBSD.org>

build.sh: tweak rumptest and RUMP_LIBSETS

Use --no-whole-archive to keep us as honest as currently possible.
PR kern/56599


# 73c21e55 13-Mar-2023 martin <martin@NetBSD.org>

Avoid the dependency on a populated tooldir (or building the tools)
when simply doing mkrepro-timestamp and the current repository setups
does not actually require it.


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

build.sh: usage improvements

Use UPPERCASE as the convention to describe an option argument,
as it's more noticable than lowercase in the help description.

Expand tabs in the help.

Editorial impro

build.sh: usage improvements

Use UPPERCASE as the convention to describe an option argument,
as it's more noticable than lowercase in the help description.

Expand tabs in the help.

Editorial improvements.

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


# ac1f6ffa 15-Aug-2022 lukem <lukem@NetBSD.org>

build.sh: improve help and usage

Split help into synopsis and help.
Only display the synopsis for usage errors (not the full help).
Print usage errors to stderr not stdout.
Don't print a usage error

build.sh: improve help and usage

Split help into synopsis and help.
Only display the synopsis for usage errors (not the full help).
Print usage errors to stderr not stdout.
Don't print a usage error for -? before the help message.
Improve error messages for unknown options and missing arguments.
Remove trailing "." present in some error messages.
Alway use 'quote' instead of `quote' in some error messages.

show more ...


# eb57948d 14-Aug-2022 lukem <lukem@NetBSD.org>

build.sh: improve help versus usage

Rework help / usage semantics:
- send help to stdout, exit 0.
- send usage to stderr, exit 1.


# f89a625e 31-Dec-2021 christos <christos@NetBSD.org>

Don't try to install netbsd-CONFIG.debug files build with kernel=


# d5402e71 29-Dec-2021 christos <christos@NetBSD.org>

Enable split-debug files for kernels. Enabled by default with MKDEBUG=yes.


# b428e171 04-Oct-2021 andvar <andvar@NetBSD.org>

remove duplicate the article in comments.


# 49c60c95 18-Sep-2021 christos <christos@NetBSD.org>

Patch the build script and toolchain to allow passing through
HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks
the build. These variables are necessary to support building NetBSD

Patch the build script and toolchain to allow passing through
HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks
the build. These variables are necessary to support building NetBSD
from a GNU Guix or NixOS host, where /usr/include, /lib, and all
but /bin/sh do not exist. In many cases, support for HOST_CPPFLAGS
was incomplete. From Ryan Sundberg

show more ...


# 6f11a00f 17-Sep-2021 joerg <joerg@NetBSD.org>

Fix timestamp extraction logic for Mercurial repos to use UTC.
Extend logic to also cover "hg archive".


# 7ca7bfbc 09-Sep-2021 martin <martin@NetBSD.org>

Add a new operation "mkrepro-timestamp" to extract the timestamp a
build with -P would use. Example usage:

./build.sh -T /usr/tools -P mkrepro-timestamp

This allows us to extract this information

Add a new operation "mkrepro-timestamp" to extract the timestamp a
build with -P would use. Example usage:

./build.sh -T /usr/tools -P mkrepro-timestamp

This allows us to extract this information once, make other use of it,
and replicate it on other machines with -V MKREPRO=yes -V MKREPRO_TIMESTAMP=..

show more ...


# 5a8fd849 29-Aug-2021 christos <christos@NetBSD.org>

Fix rumptest target && enable separate rump target. From Damien Zammit


# 2e238e36 06-Aug-2021 andvar <andvar@NetBSD.org>

fix various typos in comments.


# 9e98fa37 07-Jun-2021 christos <christos@NetBSD.org>

Good bye oabi! Tested building earmv7hf.


# bb5973fd 27-May-2021 christos <christos@NetBSD.org>

kre@ does not like the subshell :-)


# 2adbea1d 26-May-2021 christos <christos@NetBSD.org>

handle different flavors of date(1)


# 32949124 17-May-2021 christos <christos@NetBSD.org>

for mercurial, use the latest revision instead of limiting the output to 1
(requested by joerg)


# 4e98e58f 17-May-2021 christos <christos@NetBSD.org>

Handle git and mercurial for reproducible builds.


12345678910>>...15