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:
parent
72bacdc533
commit
c475a3ea4d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user