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

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

Advertisement

Kernel v2.2.17 /Makefile

Filename:/Makefile
Lines Added:6
Lines Deleted:4
Also changed in: (Previous) 2.2.17pre20  2.2.17pre19  2.2.17pre18  2.2.17pre17  2.2.17pre16  2.2.17pre15 
(Following) 2.2.18pre5  2.2.18pre6  2.2.18pre7  2.2.18pre8  2.2.18pre9  2.2.18pre10 

Location
[  2.2.17
   o  Makefile

Patch

diff -u --recursive --new-file v2.2.16/Makefile linux/Makefile
--- v2.2.16/Makefile   Mon Sep  4 18:37:06 2000
+++ linux/Makefile   Mon Sep  4 18:47:54 2000
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 2
-SUBLEVEL = 16
-EXTRAVERSION = 
+SUBLEVEL = 17
+EXTRAVERSION =
 
 ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
 
@@ -22,7 +22,7 @@
 
 AS   =$(CROSS_COMPILE)as
 LD   =$(CROSS_COMPILE)ld
-CC   =$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH)
+CC   =$(CROSS_COMPILE)cc -D__KERNEL__ -I$(HPATH)
 CPP   =$(CC) -E
 AR   =$(CROSS_COMPILE)ar
 NM   =$(CROSS_COMPILE)nm
@@ -325,13 +325,15 @@
 modules_install:
    @( \
    MODLIB=$(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE); \
+   mkdir -p $$MODLIB; \
+   rm -f $$MODLIB/build; \
+   ln -s `pwd` $$MODLIB/build; \
    cd modules; \
    MODULES=""; \
    inst_mod() { These="`cat $$1`"; MODULES="$$MODULES $$These"; \
       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; \


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