aboutsummaryrefslogtreecommitdiff
path: root/share/mk/stage-install.sh
Commit message (Collapse)AuthorAgeFilesLines
* Update share/mk files from bmakeSimon J. Gerraty2025-12-101-7/+2
| | | | | | | | | | | | | | | | | Update to the latest makefiles etc from bmake. Mostly this just replaces sjg license with an SPDX tag. There are also some improvements to meta2deps* and optimizations to leverage POSIX shell features in some target scripts. Default isPOSIX_SHELL to ':' in sys.mk to enable these. Use :sh1 in M_type if possible. bsd.progs.mk has diverged too much to touch beyond making the SPDX tag update. Reviewed by: stevek Differential Revision: https://reviews.freebsd.org/D54150
* Export SB_OBJROOT for later referenceSimon J. Gerraty2025-06-031-14/+57
| | | | | | | | | | | | | | | | | | | The build varies MAKEOBJDIRPREFIX at times which can make it difficult to track the original OBJROOT. This is easier when we get the original from env as SB_OBJROOT. If SB_OBJROOT did not come from env, set and export it the first time we set OBJROOT. This allows SB_OBJROOT to be used in .MAKE.META.IGNORE* variables to tweak what should be considered as making a target out-of-date. Update auto.obj.mk to latest from contrib/bmake - handles relative objdirs more simply and reliably. Also update jobs.mk and stage-install.sh Reviewed by: stevek Differential Revision: https://reviews.freebsd.org/D50313
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+1
| | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
* Add stage-install.sh so we can do away with the need to haveSimon J. Gerraty2013-04-191-0/+98
$STAGE_OBJTOP/include for src/include. Notes: svn path=/projects/bmake/; revision=249654