public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [KBUILD] fix external module install path
@ 2007-05-07 21:38 Eric Sandeen
  2007-05-07 21:45 ` Eric Sandeen
  2008-01-01 12:45 ` Sam Ravnborg
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Sandeen @ 2007-05-07 21:38 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: sam

Installing external modules is supposed to put them in some path
under /lib/modules/<version>/extra/subdir/, but this change:
http://linux.bkbits.net:8080/linux-2.6/?PAGE=cset&REV=1.1982.9.23
makes them go under /lib/modules/<version>/extrasubdir

(for example, make M=fs/ext3 modules_install puts ext3.ko in 
/lib/modules/<version>/extrafs/ext3.ko)

Signed-off-by: Eric Sandeen <sandeen@redhat.com>

Index: linux-2.6.21/scripts/Makefile.modinst
===================================================================
--- linux-2.6.21.orig/scripts/Makefile.modinst
+++ linux-2.6.21/scripts/Makefile.modinst
@@ -21,7 +21,7 @@ quiet_cmd_modules_install = INSTALL $@
 
 # Modules built outside the kernel source tree go into extra by default
 INSTALL_MOD_DIR ?= extra
-ext-mod-dir = $(INSTALL_MOD_DIR)$(subst $(KBUILD_EXTMOD),,$(@D))
+ext-mod-dir = $(INSTALL_MOD_DIR)/$(subst $(KBUILD_EXTMOD),,$(@D))
 
 modinst_dir = $(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D))
 



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

end of thread, other threads:[~2008-01-01 17:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-07 21:38 [PATCH] [KBUILD] fix external module install path Eric Sandeen
2007-05-07 21:45 ` Eric Sandeen
2007-05-07 22:15   ` Eric Sandeen
2008-01-01 12:45 ` Sam Ravnborg
2008-01-01 17:10   ` Eric Sandeen

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