diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 19:59:26 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 19:59:26 -0400 |
| commit | d38b69689c349f35502b92e20dafb30c62d49d63 (patch) | |
| tree | 3f996dd032b6ad9a6010cea76bf0908e5814e240 /scripts/Makefile.modpost | |
| parent | eb99adde31b7d85c67a5e1c2fa5e098e1056dd79 (diff) | |
Revert "kbuild: fix make -rR breakage"
This reverts commit e5c44fd88c146755da6941d047de4d97651404a9.
Thanks to Daniel Ritz and Michal Piotrowski for noticing the problem.
Daniel says:
"[The] reason is a recent change that made modules always shows as
module.mod. it breaks modprobe and probably many scripts..besides
lsmod looking horrible
stuff like this in modprobe.conf:
install pcmcia_core /sbin/modprobe --ignore-install pcmcia_core; /sbin/modprobe pcmcia
makes modprobe fork/exec endlessly calling itself...until oom
interrupts it"
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/Makefile.modpost')
| -rw-r--r-- | scripts/Makefile.modpost | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index e83613e0e827..576cce5e387f 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost | |||
| @@ -72,7 +72,7 @@ $(modules:.ko=.mod.c): __modpost ; | |||
| 72 | # Step 5), compile all *.mod.c files | 72 | # Step 5), compile all *.mod.c files |
| 73 | 73 | ||
| 74 | # modname is set to make c_flags define KBUILD_MODNAME | 74 | # modname is set to make c_flags define KBUILD_MODNAME |
| 75 | modname = $(basetarget) | 75 | modname = $(*F) |
| 76 | 76 | ||
| 77 | quiet_cmd_cc_o_c = CC $@ | 77 | quiet_cmd_cc_o_c = CC $@ |
| 78 | cmd_cc_o_c = $(CC) $(c_flags) $(CFLAGS_MODULE) \ | 78 | cmd_cc_o_c = $(CC) $(c_flags) $(CFLAGS_MODULE) \ |
