[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Where does the kernel get built?
On Wed, 30 Nov 2011, Aleksej Saushev wrote:
.OBJDIR handling is one of the wartiest parts of make. By the
time mk.conf is parsed, make has already decided which .OBJDIR
This is not the case, proof follows.
# Evidence 1.
.if $(.OBJDIR) == $(.CURDIR)
all:; echo $(.OBJDIR)
Before make parses that .if line, it has already decided which
.OBJDIR to use. Yes, you can change it later, and I even said
so in an earlier draft of my message, but then decided to delete
it as irrelevant to my point, and because I didn't feel like a
digression into why that also has problems.
--apb (Alan Barrett)
Main Index |
Thread Index |