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

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

Advertisement

Kernel v2.1.132 /Makefile

Filename:/Makefile
Lines Added:22
Lines Deleted:12
Also changed in: (Previous) 2.1.131  2.1.130  2.1.129  2.1.128  2.1.127  2.1.126 
(Following) 2.1.133 

Location
[  2.1.132
   o  Makefile

Patch

diff -u --recursive --new-file v2.1.131/linux/Makefile linux/Makefile
--- v2.1.131/linux/Makefile   Wed Dec 16 10:32:54 1998
+++ linux/Makefile   Fri Dec 18 14:01:48 1998
@@ -1,18 +1,9 @@
 VERSION = 2
 PATCHLEVEL = 1
-SUBLEVEL = 131
+SUBLEVEL = 132
 
 ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
 
-#
-# For SMP kernels, set this. We don't want to have this in the config file
-# because it makes re-config very ugly and too many fundamental files depend
-# on "CONFIG_SMP"
-#
-# For UP operations COMMENT THIS OUT, simply setting SMP = 0 won't work
-#
-SMP = 1
-
 .EXPORT_ALL_VARIABLES:
 
 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
@@ -94,7 +85,7 @@
 
 CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 
-ifdef SMP
+ifdef CONFIG_SMP
 CFLAGS += -D__SMP__
 AFLAGS += -D__SMP__
 endif
@@ -180,6 +171,18 @@
 DRIVERS := $(DRIVERS) drivers/net/hamradio/hamradio.a
 endif
 
+ifeq ($(CONFIG_USB),y)
+DRIVERS := $(DRIVERS) drivers/uusbd/usb.a
+endif
+
+ifeq ($(CONFIG_I2O),y)
+DRIVERS := $(DRIVERS) drivers/i2o/i2o.a
+endif
+
+ifeq ($(CONFIG_IRDA),y)
+DRIVERS := $(DRIVERS) drivers/net/irda/irda_drivers.a
+endif
+
 include arch/$(ARCH)/Makefile
 
 .S.s:
@@ -195,11 +198,13 @@
 
 vmlinux: $(CONFIGURATION) init/main.o init/version.o linuxsubdirs
    $(LD) $(LINKFLAGS) $(HEAD) init/main.o init/version.o \
+      --start-group \
       $(CORE_FILES) \
       $(FILESYSTEMS) \
       $(NETWORKS) \
       $(DRIVERS) \
       $(LIBS) \
+      --end-group \
       -o vmlinux
    $(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aU] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
 
@@ -256,7 +261,7 @@
 
 include/linux/compile.h: $(CONFIGURATION) include/linux/version.h newversion
    @echo -n \#define UTS_VERSION \"\#`cat .version` > .ver
-   @if [ -n "$(SMP)" ] ; then echo -n " SMP" >> .ver; fi
+   @if [ -n "$(CONFIG_SMP)" ] ; then echo -n " SMP" >> .ver; fi
    @if [ -f .name ]; then  echo -n \-`cat .name` >> .ver; fi
    @echo ' '`date`'"' >> .ver
    @echo \#define LINUX_COMPILE_TIME \"`date +%T`\" >> .ver
@@ -307,6 +312,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; \
@@ -320,6 +326,7 @@
    if [ -f SOUND_MODULES ]; then inst_mod SOUND_MODULES sound; fi; \
    if [ -f VIDEO_MODULES ]; then inst_mod VIDEO_MODULES video; fi; \
    if [ -f FC4_MODULES   ]; then inst_mod FC4_MODULES   fc4;   fi; \
+   if [ -f IRDA_MODULES  ]; then inst_mod IRDA_MODULES  net;   fi; \
    \
    ls *.o > $$MODLIB/.allmods; \
    echo $$MODULES | tr ' ' '\n' | sort | comm -23 $$MODLIB/.allmods - > $$MODLIB/.misc; \
@@ -404,6 +411,9 @@
 
 checkconfig:
    perl -w scripts/checkconfig.pl `find * -name '*.[hcS]' -print | sort`
+
+checkhelp:
+   perl -w scripts/checkhelp.pl `find * -name [cC]onfig.in -print`
 
 ifdef CONFIGURATION
 ..$(CONFIGURATION):


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