tools: userland.sh drops the parent make's MAKEFLAGS; build-stamp.sh defaults MACHINE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ca01d56c9d
commit
f731d1291b
2 files changed
+7
No files matched your search
@@ -29,6 +29,7 @@ if [ -z "${BUILD_LOCK_HELD:-}" ] || [ ! -d "$BUILD_LOCK_HELD" ]; then
|
||||
fi
|
||||
|
||||
OBJ=${OBJ:-$TOP/build/obj}
|
||||
MACHINE=${MACHINE:-amd64}
|
||||
STAMP=$OBJ/.makronix-stamp
|
||||
|
||||
# the scripts that decide what the sets hold (and this one); the rest of tools/
|
||||
|
||||
@@ -33,6 +33,12 @@ if [ -z "${BUILD_LOCK_HELD:-}" ] || [ ! -d "$BUILD_LOCK_HELD" ]; then
|
||||
fi
|
||||
|
||||
export MAKRONIX_TOP=$TOP
|
||||
# The root Makefile is run by the host's make(1) (bmake on Linux), which passes
|
||||
# `.MAKE.LEVEL.ENV=MAKELEVEL' in MAKEFLAGS; the older bmake of pkgsrc
|
||||
# (build/pkg/bin/bmake) stops on it: 'Cannot delete ".MAKE.LEVEL.ENV" as it is
|
||||
# read-only' (measured 2026-11-22, make release step 2). Nothing below wants
|
||||
# the parent's flags.
|
||||
unset MAKEFLAGS MAKELEVEL MFLAGS
|
||||
ARCH=amd64
|
||||
PKGSRC=$TOP/pkgsrc
|
||||
|
||||
|
||||
Reference in new issue
Block a user