> all: .config .depend do-it-all
>
> .depend:
> $(MAKE) depend
>
> .config:
> $(MAKE) oldconfig
>
> do-it-all:
> $(MAKE) vmlinux
> [ end-snippet ]
>
> Now then, can anyone see something amiss with this approach (and I'm not
> refering to official kernel distribution, but just in the general) ? It
I wouldn't rely on left-to-right order, especially since some people
like to run "make -j". I haven't tested this, but something like
all: .depend
$(MAKE) $(MFLAGS) vmlinux
.depend: .config
$(MAKE) $(MFLAGS) depend
.config:
$(MAKE) $(MFLAGS) oldconfig
should be more reliable. BTW, why don't the kernel Makefiles invoke
$(MAKE) with $(MFLAGS)?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu