]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - scripts/Kbuild.include
kbuild: introduce $(kecho) convenience echo
[linux-2.6.git] / scripts / Kbuild.include
index 936940b541f9feb5df770d0f34bcc02b6cf3dee4..8cf87e815e51feb9517a7099a25b288fbc2cd9b1 100644 (file)
@@ -24,6 +24,13 @@ basetarget = $(basename $(notdir $@))
 # Escape single quote for use in echo statements
 escsq = $(subst $(squote),'\$(squote)',$1)
 
+###
+# Easy method for doing a status message
+       kecho := :
+ quiet_kecho := echo
+silent_kecho := :
+kecho := $($(quiet)kecho)
+
 ###
 # filechk is used to check if the content of a generated file is updated.
 # Sample usage: