Messages in this thread | | | Subject | Re: Beating a dead horse (Makefile nit's and fixes) | From | (Aaron M. Ucko) | Date | 31 May 1998 14:43:53 -0500 |
| |
"Nicholas J. Leon" <nicholas@binary9.net> writes:
> 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
| |