Commit Graph

361 Commits

Author SHA1 Message Date
christos 42322eb309 Don't try to install netbsd-CONFIG.debug files build with kernel= 2021-12-31 15:43:35 +00:00
christos 508aca192c Enable split-debug files for kernels. Enabled by default with MKDEBUG=yes. 2021-12-29 22:22:12 +00:00
andvar 50d9072672 remove duplicate the article in comments. 2021-10-04 21:02:39 +00:00
christos a043955316 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
2021-09-18 01:47:07 +00:00
joerg 35651030d4 Fix timestamp extraction logic for Mercurial repos to use UTC.
Extend logic to also cover "hg archive".
2021-09-17 21:22:38 +00:00
martin 0593793640 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=..
2021-09-09 15:00:01 +00:00
christos dfff0ece03 Fix rumptest target && enable separate rump target. From Damien Zammit 2021-08-29 09:02:01 +00:00
andvar ba70c588fa fix various typos in comments. 2021-08-06 07:55:13 +00:00
christos 9f4fca625f Good bye oabi! Tested building earmv7hf. 2021-06-07 17:11:16 +00:00
christos 9cdb453da9 kre@ does not like the subshell :-) 2021-05-27 21:03:26 +00:00
christos 585ea1052c handle different flavors of date(1) 2021-05-26 21:58:58 +00:00
christos 319ee229aa for mercurial, use the latest revision instead of limiting the output to 1
(requested by joerg)
2021-05-17 17:12:12 +00:00
christos 47bc05a6ad Handle git and mercurial for reproducible builds. 2021-05-17 13:50:39 +00:00
christos b307b81829 ignore cvslatest errors in expert mode 2021-05-14 22:06:34 +00:00
christos 609e726869 Add mipsn64e[bl] targets which use 64 bit binaries instead of n32 ones. 2021-04-25 22:29:22 +00:00
martin 9fe2206466 Modify the generated make wrapper to avoid complaints about
non-writable OBJDIR from make (which happen a lot when cross-building
kernels re-using a makewrapper build for some other user).
2021-01-28 10:36:27 +00:00
mrg 8866db620f add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +00:00
kim 3282a44e58 Fix typo in usage 2020-09-14 09:02:11 +00:00
rillig ff40d26ffb make(1): remove references to the removed lst.lib 2020-07-26 09:17:24 +00:00
riastradh 8039b48b5b New build.sh option: -c <compiler>
Could never remember what the incantation is to do a clang build, so
now it's just `build.sh -c clang'.
2020-06-30 21:22:19 +00:00
riastradh 4c4351ef4f Nix trailing whitespace. 2020-06-13 18:00:29 +00:00
lukem 05b5ecc6fd nbmake bootstrap: silent configure if MAKEVERBOSE==0
Be consistent with the silencing of configure in tools/
and suppress the output in build.sh configure of nbmake
2020-06-13 11:42:47 +00:00
rin db045f7da9 Add missing MACHINE_ARCH=earmv5hf{,eb} for evbarm. 2020-05-24 04:55:53 +00:00
jmcneill 6f52454d94 When MACHINE_ARCH is missing, give direction on how to get a list of valid options 2020-05-23 17:26:32 +00:00
jmcneill 6437518a34 Remove plain "earm" targets, and require an explicit MACHINE_ARCH for
evbarm instead of selecting a default.
2020-05-23 11:04:43 +00:00
jmcneill a7f3ee8944 Remove evbarm OABI targets 2020-05-23 10:59:25 +00:00
jmcneill 043d88a7c1 Separate devicetree .dts -> .dtb building from kernel builds. They are now
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-05-18 21:19:34 +00:00
jmcneill 116200ae1b Allow path components that start with ~ 2020-03-28 20:13:13 +00:00
sborrill 06c7dd3e11 Fix long-term broken pattern match when determining if uname -p output is
valid. [^a-z] syntax isn't valid.
2019-06-07 15:49:20 +00:00
mrg 5426352fee on netbsd when defaulting to the native system, also derived MACHINE_ARCH
from the uname -p value already fetched.

this means eg, build.sh on evbarm will build the native platform rather
than "earm" (armv5) -- which was the default even on arm64 hosts.
2019-05-02 02:51:01 +00:00
pgoyette dedd8aee9b Tyop in error message... 2019-04-25 05:12:49 +00:00
mrg 56608fa62e add aliases for evbarm without saying 'earm':
- copy all the 'evbearm' alias as 'evbarm'.
2019-02-08 02:05:32 +00:00
christos 0a37cd5ef4 add build libs (undocumented). 2018-12-30 23:19:40 +00:00
christos 53e133006b Add some aliases (from phone) 2018-08-09 08:30:29 +00:00
pgoyette f1de59e03f Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
pgoyette 653cac4418 Synch with HEAD 2018-05-02 07:19:58 +00:00
ryo fe33aa2786 Add initial support for ARMv8 (AARCH64) (by nisimura@ and 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-04-01 04:35:01 +00:00
skrll ac34435581 Remove port-acorn26
OK core@
2018-01-24 09:04:40 +00:00
uwe c840f8cea1 Restore formatting/indentation of the configure call in rebuildmake()
to what it used to be.
2018-01-15 20:39:53 +00:00
uwe 06ddb7b0da Make sure nbmake is always built with the right _PATH_DEFSYSPATH. 2018-01-15 19:52:54 +00:00
kre 61a91fe3e4 Better validation of var name args to -V and -Z, in a way that makes
it trivial to add a list of banned var names for either of those args
should that ever be considered desireable (as the XXX suggests it might.)
I've had this mod locked in my tree for (at least) months - time to set it free.
2017-10-08 01:05:13 +00:00
kre b5b1e44a8f If we're going xsrc hunting, lets's do it properly. In particular
it is not "good" just because ../xsrc or /usr/xsrc exists, if the user said
-X /no/xsrc/here ...   Further, when we find it, remember it.

While here, also look in my favourite place: .../src/xsrc - src/x would be
better (or src/x11) but that's too hard given the cvs module name and src
tarball format.
2017-10-08 00:45:25 +00:00
maya 6e25a9dd5f Simplify. 2017-10-03 11:02:36 +00:00
maya 2f8550bbff Accept also ../xsrc in our sanity check, we use this as a default too,
if it exists.
2017-10-03 10:59:04 +00:00
maya 535f0948a0 Add sanity check: passed -x but no xsrc directory 2017-10-02 15:40:00 +00:00
christos ab4baeaa18 - Allow all other targets (like kernel=) to obey mkrepro (-P)
- Print the timestamp in UTC
2017-04-08 18:22:35 +00:00
sevan f92715b077 State the reason script bombed.
Reword recommendation.
2017-03-10 17:15:47 +00:00
christos 5a5501a835 add a trailing / to force symlink resolution. 2016-12-18 19:39:05 +00:00
christos 163c34b376 Bail out on error computing the timestamp 2016-12-18 19:00:20 +00:00
christos bb5b15d092 Add -P for reproducible builds based on the latest cvs timestamp. 2016-12-18 02:20:30 +00:00