public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Only build modpost when modules enabled
@ 2004-07-28 12:44 Brian Gerst
  2004-08-08 19:02 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Gerst @ 2004-07-28 12:44 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: lkml

[-- Attachment #1: Type: text/plain, Size: 62 bytes --]

Only build modpost when CONFIG_MODULES=y.

--
				Brian Gerst

[-- Attachment #2: modpost-2 --]
[-- Type: text/plain, Size: 425 bytes --]

diff -urN linux-2.6.8-rc2-mm1/scripts/Makefile linux/scripts/Makefile
--- linux-2.6.8-rc2-mm1/scripts/Makefile	2004-07-28 08:33:03.884445247 -0400
+++ linux/scripts/Makefile	2004-07-28 08:33:41.408269137 -0400
@@ -9,7 +9,7 @@
 always		:= $(host-progs)
 
 subdir-$(CONFIG_MODVERSIONS)	+= genksyms
-subdir-y	+= mod
+subdir-$(CONFIG_MODULES)	+= mod
 
 # Let clean descend into subdirs
 subdir-	+= basic lxdialog kconfig package

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Only build modpost when modules enabled
  2004-07-28 12:44 [PATCH] Only build modpost when modules enabled Brian Gerst
@ 2004-08-08 19:02 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2004-08-08 19:02 UTC (permalink / raw)
  To: Brian Gerst; +Cc: Sam Ravnborg, lkml

On Wed, Jul 28, 2004 at 08:44:51AM -0400, Brian Gerst wrote:
> Only build modpost when CONFIG_MODULES=y.

Added but made all targets in scripts/Makefile depend on actual configuration.
Thanks for input.

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-08 19:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-28 12:44 [PATCH] Only build modpost when modules enabled Brian Gerst
2004-08-08 19:02 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox