lkml.org 
[lkml]   [1997]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[fix] for pre-3.1.37-4 and make install: arch/i386/Makefile

Due to a change in arch/i386/boot/Makefile, make install installed
System.map as the new /vmlinuz... :-)

Here is the fix:

--- arch/i386/Makefile-pre2.1.37-4 Sun May 4 19:52:25 1997
+++ arch/i386/Makefile Sun May 4 19:53:42 1997
@@ -85,7 +85,7 @@
@$(MAKEBOOT) BOOTIMAGE=bzImage zdisk

install: vmlinux
- @$(MAKEBOOT) install
+ @$(MAKEBOOT) BOOTIMAGE=zImage install

archclean:
@$(MAKEBOOT) clean
--- arch/i386/boot/Makefile-pre2.1.37-4 Sun May 4 20:06:52 1997
+++ arch/i386/boot/Makefile Sun May 4 20:08:22 1997
@@ -41,7 +41,7 @@
if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi

install: $(CONFIGURE) $(BOOTIMAGE)
- sh -x ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) $(BOOTIMAGE) $(TOPDIR)/System.map "$(INSTALL_PATH)"
+ sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) $(BOOTIMAGE) $(TOPDIR)/System.map "$(INSTALL_PATH)"

tools/build: tools/build.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $< -I$(TOPDIR)/include
Here is the output from the buggy make-run:


nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)\|\(\.\.ng$\)' | sort
> System.map
make[1]: Entering directory `/usr/src/pre-2.1.37-4/arch/i386/boot'
sh -x ./install.sh 2.1.37 /usr/src/pre-2.1.37-4/System.map ""
+ [ -x /sbin/installkernel ]
+ [ -f /vmlinuz ]
+ mv /vmlinuz /vmlinuz.old
+ [ -f /System.map ]
+ cat /usr/src/pre-2.1.37-4/System.map
+ cp /System.map
cp: missing destination file <--- here!
Try `cp --help' for more information.
+ [ -x /sbin/lilo ]
+ /sbin/lilo
Added Linux *
Added Linuxold

--
Bernhard Kaindl | email: bkaindl@netway.at
Bartelt Labor- & Datentechnik | edv@bartelt.via.at
Neufeldweg 42 | phone: +43-316/475328
A-8010 Graz, Austria | fax: +43-316/475328-43

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