pmt: utils: run commands silently
This commit is contained in:
@@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
# generate any text based empty file. Usage: $(call touch,<PATH>)
|
# generate any text based empty file. Usage: $(call touch,<PATH>)
|
||||||
define touch
|
define touch
|
||||||
$(hide)[ ! "$(FORCE_GEN)" = "true" ] || rm -f "$1"
|
@ [ ! "$(FORCE_GEN)" = "true" ] || rm -f "$1"
|
||||||
$(hide)touch "$1" || exit 1
|
@ touch "$1" || exit 1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# copy files. Usage: $(call copy,<SOURCE>,<COPY_PATH>)
|
# copy files. Usage: $(call copy,<SOURCE>,<COPY_PATH>)
|
||||||
|
|||||||
Reference in New Issue
Block a user