lkml.org 
[lkml]   [1998]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.038 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site