Ignore MAKEFLAGS for snippet makefiles.

(more important than MAKEVERBOSE probably.)
This commit is contained in:
kre 2017-11-22 23:14:01 +00:00
parent e868602e4c
commit 55e43ec5a7

View File

@ -1,4 +1,4 @@
# $NetBSD: sets.subr,v 1.180 2017/11/22 21:31:20 christos Exp $
# $NetBSD: sets.subr,v 1.181 2017/11/22 23:14:01 kre Exp $
#
#
@ -179,7 +179,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g"
# In each file, a record consists of a path and a System Package name,
# separated by whitespace. E.g.,
#
# # $NetBSD: sets.subr,v 1.180 2017/11/22 21:31:20 christos Exp $
# # $NetBSD: sets.subr,v 1.181 2017/11/22 23:14:01 kre Exp $
# . base-sys-root [keyword[,...]]
# ./altroot base-sys-root
# ./bin base-sys-root
@ -605,7 +605,7 @@ print_set_lists()
#
arch_to_cpu()
{
MAKEVERBOSE= MACHINE_ARCH=${1} ${MAKE} -B -f- all <<EOMAKE
MAKEFLAGS= MAKEVERBOSE= MACHINE_ARCH=${1} ${MAKE} -B -f- all <<EOMAKE
.include <bsd.own.mk>
all:
@echo \${MACHINE_CPU}
@ -619,7 +619,7 @@ EOMAKE
#
arch_to_endian()
{
MAKEVERBOSE= MACHINE_ARCH=${1} ${MAKE} -B -f- all <<EOMAKE
MAKEFLAGS= MAKEVERBOSE= MACHINE_ARCH=${1} ${MAKE} -B -f- all <<EOMAKE
.include <bsd.endian.mk>
all:
@echo \${TARGET_ENDIANNESS}