summaryrefslogtreecommitdiff
path: root/build.sh
AgeCommit message (Collapse)Author
2023-06-13fix build.sh wrong variable use that caused nbmake to be always rebultchristos
(Jan-Benedict Glaw)
2023-06-02build.sh: add show-params operationlukem
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.)
2023-06-02build.sh: fix MKUNPRIVED commentlukem
I renamed UNPRIVED to MKUNPRIVED 20 years ago, and missed a comment.
2023-05-16build.sh, BUILDING: consistency improvementslukem
Consistently use "show", instead of sometimes using "display" or "print". Fix mdoc markup (even though BUILDING is raw text). Document help, -P, -?
2023-04-23build.sh: drop -lrumpdev hack introduced in previousuwe
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
2023-04-23build.sh: tweak rumptest and RUMP_LIBSETSuwe
Use --no-whole-archive to keep us as honest as currently possible. PR kern/56599
2023-03-13Avoid the dependency on a populated tooldir (or building the tools)martin
when simply doing mkrepro-timestamp and the current repository setups does not actually require it.
2022-08-21build.sh: usage improvementslukem
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.
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-08-15build.sh: improve help and usagelukem
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.
2022-08-14build.sh: improve help versus usagelukem
Rework help / usage semantics: - send help to stdout, exit 0. - send usage to stderr, exit 1.
2021-12-31Don't try to install netbsd-CONFIG.debug files build with kernel=christos
2021-12-29Enable split-debug files for kernels. Enabled by default with MKDEBUG=yes.christos
2021-10-04remove duplicate the article in comments.andvar
2021-09-18Patch the build script and toolchain to allow passing throughchristos
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-17Fix timestamp extraction logic for Mercurial repos to use UTC.joerg
Extend logic to also cover "hg archive".
2021-09-09Add a new operation "mkrepro-timestamp" to extract the timestamp amartin
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-08-29Fix rumptest target && enable separate rump target. From Damien Zammitchristos
2021-08-06fix various typos in comments.andvar
2021-06-07Good bye oabi! Tested building earmv7hf.christos
2021-05-27kre@ does not like the subshell :-)christos
2021-05-26handle different flavors of date(1)christos
2021-05-17for mercurial, use the latest revision instead of limiting the output to 1christos
(requested by joerg)
2021-05-17Handle git and mercurial for reproducible builds.christos
2021-05-14ignore cvslatest errors in expert modechristos
2021-04-25Add mipsn64e[bl] targets which use 64 bit binaries instead of n32 ones.christos
2021-01-28Modify the generated make wrapper to avoid complaints aboutmartin
non-writable OBJDIR from make (which happen a lot when cross-building kernels re-using a makewrapper build for some other user).
2020-09-20add "distsets" alias for "distribution sets".mrg
2020-09-14Fix typo in usagekim
2020-07-26make(1): remove references to the removed lst.librillig
2020-06-30New build.sh option: -c <compiler>riastradh
Could never remember what the incantation is to do a clang build, so now it's just `build.sh -c clang'.
2020-06-13Nix trailing whitespace.riastradh
2020-06-13nbmake bootstrap: silent configure if MAKEVERBOSE==0lukem
Be consistent with the silencing of configure in tools/ and suppress the output in build.sh configure of nbmake
2020-05-24Add missing MACHINE_ARCH=earmv5hf{,eb} for evbarm.rin
2020-05-23When MACHINE_ARCH is missing, give direction on how to get a list of valid ↵jmcneill
options
2020-05-23Remove plain "earm" targets, and require an explicit MACHINE_ARCH forjmcneill
evbarm instead of selecting a default.
2020-05-23Remove evbarm OABI targetsjmcneill
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-03-28Allow path components that start with ~jmcneill
2019-06-07Fix long-term broken pattern match when determining if uname -p output issborrill
valid. [^a-z] syntax isn't valid.
2019-05-02on netbsd when defaulting to the native system, also derived MACHINE_ARCHmrg
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-04-25Tyop in error message...pgoyette
2019-02-08add aliases for evbarm without saying 'earm':mrg
- copy all the 'evbearm' alias as 'evbarm'.
2018-12-30add build libs (undocumented).christos
2018-08-09Add some aliases (from phone)christos
2018-05-02Re-add files that were accidentally deleted in my previous commit.pgoyette
2018-05-02Synch with HEADpgoyette
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-24Remove port-acorn26skrll
OK core@
2018-01-15Restore formatting/indentation of the configure call in rebuildmake()uwe
to what it used to be.