]> Pileus Git - ~andy/linux/blobdiff - Documentation/kbuild/makefiles.txt
Merge branches 'fixes', 'cleanups' and 'boards'
[~andy/linux] / Documentation / kbuild / makefiles.txt
index 7a7753321a263f62c2a00c9d0e348716e701ac2c..51104f9194a54feb64058f4b8f35f3b4d7cbc88f 100644 (file)
@@ -383,6 +383,20 @@ more details, with real examples.
        to prerequisites are referenced with $(src) (because they are not
        generated files).
 
+    $(kecho)
+       echoing information to user in a rule is often a good practice
+       but when execution "make -s" one does not expect to see any output
+       except for warnings/errors.
+       To support this kbuild define $(kecho) which will echo out the
+       text following $(kecho) to stdout except if "make -s" is used.
+
+       Example:
+               #arch/blackfin/boot/Makefile
+               $(obj)/vmImage: $(obj)/vmlinux.gz
+                       $(call if_changed,uimage)
+                       @$(kecho) 'Kernel: $@ is ready'
+
+
 --- 3.11 $(CC) support functions
 
        The kernel may be built with several different versions of