X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=Documentation%2Fkbuild%2Fmakefiles.txt;h=51104f9194a54feb64058f4b8f35f3b4d7cbc88f;hb=52435bfc665716fdf9a02f0d08e7ce50ddb9bf45;hp=7a7753321a263f62c2a00c9d0e348716e701ac2c;hpb=527da38d33f16da4c245da3a5a3858193f8a0261;p=~andy%2Flinux diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index 7a7753321a2..51104f9194a 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt @@ -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