From 502096d16814b4814269c1093fa7a76187569d7d Mon Sep 17 00:00:00 2001 From: gjb Date: Wed, 12 Jun 2013 13:17:43 +0000 Subject: [PATCH] MFC r240403 (obrien): Not all Pmake derivatives silently handle empty shell output, so ensure there is something for make(1) to consume. Bmake gives output such as: "warning: Couldn't read shell's output for "/bin/sh -c true" Approved by: kib (mentor) git-svn-id: svn://svn.freebsd.org/base/stable/9@251653 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- Makefile | 2 +- Makefile.inc1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7c346fb00..5b9e9baa9 100644 --- a/Makefile +++ b/Makefile @@ -216,7 +216,7 @@ ${TGTS}: .MAIN: all STARTTIME!= LC_ALL=C date -CHECK_TIME!= find ${.CURDIR}/sys/sys/param.h -mtime -0s +CHECK_TIME!= find ${.CURDIR}/sys/sys/param.h -mtime -0s ; echo .if !empty(CHECK_TIME) .error check your date/time: ${STARTTIME} .endif diff --git a/Makefile.inc1 b/Makefile.inc1 index 119b7b7b1..a99547c85 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1658,7 +1658,7 @@ DTBOUTPUTPATH= ${KRNLOBJDIR}/${KERNCONF}/ .if !defined(FDT_DTS_FILE) || empty(FDT_DTS_FILE) .if exists(${KERNCONFDIR}/${KERNCONF}) FDT_DTS_FILE!= awk 'BEGIN {FS="="} /^makeoptions[[:space:]]+FDT_DTS_FILE/ {print $$2}' \ - ${KERNCONFDIR}/${KERNCONF} + ${KERNCONFDIR}/${KERNCONF} ; echo .endif .endif -- 2.45.0