Module Name: src Committed By: lukem Date: Wed May 31 20:47:35 UTC 2023
Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: support ${MACHINE} defaults in MK* = yes For MK* variables (in _MKVARS.yes), default to MK*.${MACHINE} if MK*.${MACHINE_ARCH} isn't defined. Equivalent to _MKVARS.no change by mrg@ in rev 1.1065 on 2018-06-16. To generate a diff of this commit: cvs rdiff -u -r1.1330 -r1.1331 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1330 src/share/mk/bsd.own.mk:1.1331 --- src/share/mk/bsd.own.mk:1.1330 Wed May 31 20:45:02 2023 +++ src/share/mk/bsd.own.mk Wed May 31 20:47:35 2023 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1330 2023/05/31 20:45:02 lukem Exp $ +# $NetBSD: bsd.own.mk,v 1.1331 2023/05/31 20:47:35 lukem Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -1227,7 +1227,7 @@ _MKVARS.yes= \ MKYP .for var in ${_MKVARS.yes} -${var}?= ${${var}.${MACHINE_ARCH}:Uyes} +${var}?= ${${var}.${MACHINE_ARCH}:U${${var}.${MACHINE}:Uyes}} .endfor #