[clug] Stupid make question... What commands/parameters get issued?

steve jenkin sjenkin at canb.auug.org.au
Mon Nov 19 19:31:53 MST 2012


Ahhhh. Relief!!! Thanks for that.

The Linux kernel Makefile uses some trickery to have verbose, quiet and
silent modes. "KBUILD_VERBOSE" = 0 or 1.

I can now see the commands. Brilliant.
Onto tilting at the next windmill.

Brendan Jurd wrote on 20/11/12 12:42 PM:
> On 20 November 2012 12:29, steve jenkin <sjenkin at canb.auug.org.au
> <mailto:sjenkin at canb.auug.org.au>> wrote:
>     I'm trying to understand where some problems in a build (conflicting
>     headers) are coming from, and it'd be really helpful to know exactly
>     what commands and parameters are being issued.
> Sorry if I'm misunderstanding your question, but doesn't make do that by
> default? [1]
> Normally, if you *don't* want to see the commands being issued by make,
> you have to put an @ symbol in front of each command in the recipe. 
> Otherwise everything that is executed is also echoed to stdout.
> If the pseudo-rule .SILENT appears in your Makefile, then make will
> behave as if you had specified -s/--silent.
> Cheers,
> BJ
> [1] http://www.gnu.org/software/make/manual/make.html#Echoing

Steve Jenkin, Info Tech, Systems and Design Specialist.
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA

sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin

More information about the linux mailing list