Date: Mon, 18 Apr 2016 22:00:26 +0000 (UTC) From: "Simon J. Gerraty" <sjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298229 - head/share/mk Message-ID: <201604182200.u3IM0Q2o026987@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sjg Date: Mon Apr 18 22:00:26 2016 New Revision: 298229 URL: https://svnweb.freebsd.org/changeset/base/298229 Log: Allow -f dirdeps.mk some/dir with no TARGET_MACHINE spec Use $MACHINE if target does not specify. Reviewed by: bdrewery Modified: head/share/mk/dirdeps.mk Modified: head/share/mk/dirdeps.mk ============================================================================== --- head/share/mk/dirdeps.mk Mon Apr 18 21:11:55 2016 (r298228) +++ head/share/mk/dirdeps.mk Mon Apr 18 22:00:26 2016 (r298229) @@ -135,6 +135,9 @@ DIRDEPS := ${.TARGETS:M*[/.]*} DEP_RELDIR := ${DIRDEPS:[1]:R} # this will become DEP_MACHINE below TARGET_MACHINE := ${DIRDEPS:[1]:E:C/,.*//} +.if ${TARGET_MACHINE:N*/*} == "" +TARGET_MACHINE := ${MACHINE} +.endif # disable DIRDEPS_CACHE as it does not like this trick MK_DIRDEPS_CACHE = no .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604182200.u3IM0Q2o026987>