Messages in this thread | | | From | (Mike "Ford" Ditto) | Date | Fri, 29 May 98 14:32:41 -0700 | Subject | Re: [TINY PATCH 2.1.x] Minor nit and fix for main Makefile |
| |
> From: "Nicholas J. Leon" <nicholas@binary9.net> > > ifeq (.config,$(wildcard .config)) > include .config > +else > +TOMAKE := $(TOMAKE) config > +endif > ifeq (.depend,$(wildcard .depend)) > include .depend > -do-it-all: Version vmlinux > else > -CONFIGURATION = depend > -do-it-all: depend > +TOMAKE := $(TOMAKE) depend > endif > + > +ifdef CONFIG_MODULES > +do-it-all: $(TOMAKE) Version vmlinux modules > else > -CONFIGURATION = config > -do-it-all: config > +do-it-all: $(TOMAKE) Version vmlinux > endif >
This won't work because if .config doesn't exist, you will first make config, and then proceed to make vmlinux without ever including the generated .config file. -=] Ford [=-
"The heart and the mind on (In Real Life: Mike Ditto) a parallel course, never ford@omnicron.com the two shall meet." http://www.omnicron.com/~ford/ford.html -- Indigo Girls
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |