mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Reppert <arashi@arashi.yi.org>
To: wz6b@arrl.net
Cc: linux-kernel@vger.kernel.org, rusty@rustcorp.com.au
Subject: Re: 2.5.50 Up and running but
Date: Thu, 12 Dec 2002 01:21:01 -0600	[thread overview]
Message-ID: <20021212012101.238ae459.arashi@arashi.yi.org> (raw)
In-Reply-To: <200212112259.10079.wz6b@arrl.net>

On Wed, 11 Dec 2002 22:59:10 -0800
Matt Young <wz6b@arrl.net> wrote:

> Boot couldn't find the module dependency file, even though I did make modules 
> and make modules_install

Yeah, the make rule for depmod got removed in one of the module merges. This
will put it back. (Untested, my init scripts run depmod so it's not a big deal
for me.) Rusty, am I being stupid or is this okay now that depmod works?

--- a/Makefile	Sun Nov 10 19:05:55 2002
+++ b/Makefile	Fri Nov  8 20:08:32 2002
@@ -157,7 +157,6 @@
 OBJDUMP		= $(CROSS_COMPILE)objdump
 AWK		= awk
 GENKSYMS	= /sbin/genksyms
+DEPMOD		= /sbin/depmod
 KALLSYMS	= /sbin/kallsyms
 PERL		= perl
 MODFLAGS	= -DMODULE
@@ -516,7 +515,7 @@
 #	Install modules
 
 .PHONY: modules_install
-modules_install: _modinst_ $(patsubst %, _modinst_%, $(SUBDIRS))
+modules_install: _modinst_ $(patsubst %, _modinst_%, $(SUBDIRS)) _modinst_post
 
 .PHONY: _modinst_
 _modinst_:
@@ -524,20 +523,6 @@
 	@rm -f $(MODLIB)/build
 	@mkdir -p $(MODLIB)/kernel
 	@ln -s $(TOPDIR) $(MODLIB)/build
+
+# If System.map exists, run depmod.  This deliberately does not have a
+# dependency on System.map since that would run the dependency tree on
+# vmlinux.  This depmod is only for convenience to give the initial
+# boot a modules.dep even before / is mounted read-write.  However the
+# boot script depmod is the master version.
+ifeq "$(strip $(INSTALL_MOD_PATH))" ""
+depmod_opts	:=
+else
+depmod_opts	:= -b $(INSTALL_MOD_PATH) -r
+endif
+.PHONY: _modinst_post
+_modinst_post:
+	if [ -r System.map ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
 
 .PHONY: $(patsubst %, _modinst_%, $(SUBDIRS))
 $(patsubst %, _modinst_%, $(SUBDIRS)) :
.
 
> Also the make config did not select the right Intel processor 

???

> nor is there a mouse driver

What kind of mouse? What config option?

Matt

  reply	other threads:[~2002-12-12  7:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12  6:59 Matt Young
2002-12-12  7:21 ` Matt Reppert [this message]
2002-12-12 22:20   ` Rusty Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021212012101.238ae459.arashi@arashi.yi.org \
    --to=arashi@arashi.yi.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=wz6b@arrl.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®