Not all Pmake derived makes quietly tolerate assignment from shell commands

with no output.  Add "echo" at the end these shell commands whose output is
assigned to a variable's value to ensure there is some output.

Submitted by:	John Van Horne <jvanhorne@juniper.net>
This commit is contained in:
David E. O'Brien 2012-09-12 14:17:11 +00:00
parent 72bacdc533
commit c475a3ea4d
3 changed files with 5 additions and 5 deletions

View File

@ -31,9 +31,9 @@ S= ../../..
.endif
.include "$S/conf/kern.pre.mk"
DDB_ENABLED!= grep DDB opt_ddb.h || true
DTR_ENABLED!= grep KDTRACE_FRAME opt_kdtrace.h || true
HWPMC_ENABLED!= grep HWPMC opt_hwpmc_hooks.h || true
DDB_ENABLED!= grep DDB opt_ddb.h || true ; echo
DTR_ENABLED!= grep KDTRACE_FRAME opt_kdtrace.h || true ; echo
HWPMC_ENABLED!= grep HWPMC opt_hwpmc_hooks.h || true ; echo
.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
CFLAGS+= -fno-omit-frame-pointer
.endif

View File

@ -39,7 +39,7 @@ SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M}
STRIP_FLAGS = -S
.endif
DDB_ENABLED!= grep DDB opt_ddb.h || true
DDB_ENABLED!= grep DDB opt_ddb.h || true ; echo
.if empty(DDB_ENABLED)
CFLAGS += -mno-apcs-frame

View File

@ -37,7 +37,7 @@ INCLUDES+= -I$S/contrib/libfdt
CFLAGS+= -msoft-float -Wa,-many
DDB_ENABLED!= grep DDB opt_ddb.h || true
DDB_ENABLED!= grep DDB opt_ddb.h || true ; echo
.if !empty(DDB_ENABLED)
CFLAGS+= -fno-omit-frame-pointer
.endif