* [PATCH] make depmod
@ 2004-12-21 0:24 Matt Mackall
2004-12-21 1:15 ` Matt Mackall
0 siblings, 1 reply; 2+ messages in thread
From: Matt Mackall @ 2004-12-21 0:24 UTC (permalink / raw)
To: linux-kernel; +Cc: kai, sam
This patch exposes the modules_install depmod functionality as a
convenience to external modules
Index: l/Makefile
===================================================================
--- l.orig/Makefile 2004-11-04 10:52:49.499525000 -0800
+++ l/Makefile 2004-12-20 16:19:01.195688000 -0800
@@ -867,7 +867,9 @@
depmod_opts := -b $(INSTALL_MOD_PATH) -r
endif
.PHONY: _modinst_post
-_modinst_post: _modinst_
+_modinst_post: _modinst_ depmod
+
+depmod:
if [ -r System.map ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
else # CONFIG_MODULES
--
Mathematics is the supreme nostalgia of our time.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] make depmod
2004-12-21 0:24 [PATCH] make depmod Matt Mackall
@ 2004-12-21 1:15 ` Matt Mackall
0 siblings, 0 replies; 2+ messages in thread
From: Matt Mackall @ 2004-12-21 1:15 UTC (permalink / raw)
To: linux-kernel; +Cc: kai, sam
On Mon, Dec 20, 2004 at 04:24:16PM -0800, Matt Mackall wrote:
> This patch exposes the modules_install depmod functionality as a
> convenience to external modules
>
> Index: l/Makefile
> ===================================================================
> --- l.orig/Makefile 2004-11-04 10:52:49.499525000 -0800
> +++ l/Makefile 2004-12-20 16:19:01.195688000 -0800
> @@ -867,7 +867,9 @@
> depmod_opts := -b $(INSTALL_MOD_PATH) -r
> endif
> .PHONY: _modinst_post
> -_modinst_post: _modinst_
> +_modinst_post: _modinst_ depmod
> +
> +depmod:
> if [ -r System.map ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
>
> else # CONFIG_MODULES
As was pointed out to me privately, this is broken for make -j.
--
Mathematics is the supreme nostalgia of our time.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-21 1:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-21 0:24 [PATCH] make depmod Matt Mackall
2004-12-21 1:15 ` Matt Mackall
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.