The linux kernel I compile only prints message like:
CC .....
LD [M] ....
How can I hide the compiling message printed out by make and output what I want? Where can I find the portion of code which does this in kernel Makefile?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In short, prepend ‘@’.
What the kernel makefiles do is rather more complicated, but it boils down to something like this:
Look at the GNU Make manual. GNU Make really is quite well documented, and if you’re doing a lot of work with it it’s worth the effort to read it through.