lkml.org 
[lkml]   [1999]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectSmall dependency fix for 2.[23].*
Date
From
This fixes the dependencies so that the correct UTS_VERSION is included in the 
kernel image setup.

It's quite common to use 'strings vmlinuz' to find the exact version and build
number of a kernel image, especially when you distribute your built kernel over
NFS and have to be sure that you're not just using the old cached version.

Without this dependency on linux/include/compile.h, much confusion can occur.

The patch applies to both 2.2.12 and 2.3.15

--- arch/i386/boot/Makefile.old Sat Aug 28 14:25:26 1999
+++ arch/i386/boot/Makefile Sat Aug 28 14:25:54 1999
@@ -51,7 +51,7 @@
setup.o: setup.s
$(AS86) -o $@ $<

-setup.s: setup.S video.S Makefile $(BOOT_INCL) $(TOPDIR)/include/linux/version.h
+setup.s: setup.S video.S Makefile $(BOOT_INCL) $(TOPDIR)/include/linux/version.h $(TOPDIR)/include/linux/compile.h
$(CPP) -traditional $(SVGA_MODE) $(RAMDISK) $< -o $@

bsetup: bsetup.o
@@ -60,7 +60,7 @@
bsetup.o: bsetup.s
$(AS86) -o $@ $<

-bsetup.s: setup.S video.S Makefile $(BOOT_INCL) $(TOPDIR)/include/linux/version.h
+bsetup.s: setup.S video.S Makefile $(BOOT_INCL) $(TOPDIR)/include/linux/version.h $(TOPDIR)/include/linux/compile.h
$(CPP) -D__BIG_KERNEL__ -traditional $(SVGA_MODE) $(RAMDISK) $< -o $@

bootsect: bootsect.o

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.


-
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:53    [W:0.025 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site