lkml.org 
[lkml]   [1998]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectMinor fix for "make modules_install"
Date
If no modules were installed as part of the main "inst_mod" calls then
the directory $MODLIB is not created. Thus, when the Makefile attempts to
create the list of all modules using "ls *.o > $MODLIB/.allmods", it fails

Demonstrate by running "make modules_install" with no compiled modules.
A more realistic case would be to only have lp compiled as a module.

--- Makefile-orig Wed Nov 25 18:37:46 1998
+++ Makefile Wed Nov 25 18:39:20 1998
@@ -307,6 +307,7 @@
mkdir -p $$MODLIB/$$2; cp $$These $$MODLIB/$$2; \
echo Installing modules under $$MODLIB/$$2; \
}; \
+ mkdir -p $$MODLIB; \
\
if [ -f BLOCK_MODULES ]; then inst_mod BLOCK_MODULES block; fi; \
if [ -f NET_MODULES ]; then inst_mod NET_MODULES net; fi; \
--
`O O' | Home: Nick.Holloway@alfie.demon.co.uk http://www.alfie.demon.co.uk/
// ^ \\ | Work: Nick.Holloway@parallax.co.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.501 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site