Re: question about kbuild system

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

 



On 21.5.2011 14:45, os user wrote:
[...]
  Considering target file `scripts/basic/.fixdep.cmd'.
   Looking for an implicit rule for `scripts/basic/.fixdep.cmd'.
   Trying pattern rule with stem `.fixdep.cmd'.
   Trying implicit prerequisite `scripts/basic/.fixdep.cmd_shipped'.
   No implicit rule found for `scripts/basic/.fixdep.cmd'.
   Finished prerequisites of target file `scripts/basic/.fixdep.cmd'.
  No need to remake target `scripts/basic/.fixdep.cmd'.
Considering target file `scripts/basic/.docproc.cmd'.
[...]

I'm just curious where is the definition for<implicit prerequisite
`scripts/basic/.fixdep.cmd_shipped'>  ?
Normally Gnu Make will try a lot of internal rules to deal with
<`scripts/basic/.fixdep.cmd'>, why here Gnu Make stop
trying internal ruls so quickly?

Internal rules are disabled in kbuild, see the toplevel Makefile:
# Do not:
# o  use make's built-in rules and variables
#    (this increases performance and avoids hard-to-debug behaviour);
# o  print "Entering directory ...";
MAKEFLAGS += -rR --no-print-directory

The rule for _shipped files is in scripts/Makefile.lib

Michal
--
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