Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v1.3.52 /Makefile

Filename:/Makefile
Lines Added:14
Lines Deleted:2
Also changed in: (Previous) 1.3.51  1.3.50  1.3.49  1.3.48  1.3.47  1.3.46 
(Following) 1.3.53  1.3.54  1.3.55  1.3.56  1.3.57  1.3.58 

Location
[  1.3.52
   o  Makefile

Patch

diff -u --recursive --new-file v1.3.51/linux/Makefile linux/Makefile
--- v1.3.51/linux/Makefile   Wed Dec 27 09:12:12 1995
+++ linux/Makefile   Fri Dec 29 16:21:49 1995
@@ -1,6 +1,6 @@
 VERSION = 1
 PATCHLEVEL = 3
-SUBLEVEL = 51
+SUBLEVEL = 52
 
 ARCH = i386
 
@@ -243,7 +243,7 @@
    $(MAKE) linuxsubdirs SUBDIRS=net
 
 MODFLAGS = -DMODULE
-
+ifdef CONFIG_MODULES
 ifdef CONFIG_MODVERSIONS
 MODFLAGS += -DMODVERSIONS -include $(HPATH)/linux/modversions.h
 endif
@@ -272,6 +272,18 @@
    if [ -s .misc ]; then inst_mod .misc misc; fi; \
    rm -f .misc .allmods; \
    )
+
+# modules disabled....
+
+else
+modules modules_install: dummy
+   @echo
+   @echo "The present kernel configuration has modules disabled."
+   @echo "Type 'make config' and enable loadable module support."
+   @echo "Then build a kernel with module support enabled."
+   @echo
+   @exit 1
+endif
 
 clean:   archclean
    rm -f kernel/ksyms.lst include/linux/compile.h


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.