Re: debugging kbuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/07/2018 09:29 AM, Nick Desaulniers wrote:
> On Tue, Aug 7, 2018 at 3:08 AM Segher Boessenkool
> <segher@xxxxxxxxxxxxxxxxxxx> wrote:
>>
>> On Mon, Aug 06, 2018 at 04:31:14PM -0700, Nick Desaulniers wrote:
>>> Is there a way to print the exact command that's being invoked from
>>> Make? For example, some of the macro's in scripts/Kbuild.include are
>>> tricky to unwind. Is there a way to dump each sub command being run?
>>
>> There always is strace...  Or maybe  make -dj  and friends.
> 
> Hmm...I'm debugging a 4.9 LTS based kernel. `make V=1` and `make -dj`
> were things I tried, but don't seem to be printing the commands being
> executed (only "Reading makefile ...") until the first warning is hit.
> I wonder if someone is setting the quiet variable somehow, or if I'm
> missing a patch...
> 
> Thanks for the ideas.
> 

Yeah, that sounds like -s (silent) is set.

-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux