Hi,

I just ran tried to install the kernel and ran:

  make depend
  make install

Since I forgot running "make" and since there is no dependency for
"bsd" the target removed my old kernel without installing the new
one.

How about this patch for the i386 target?

cvs server: Diffing .
Index: Makefile.i386
===================================================================
RCS file: /cvs/src/sys/arch/i386/conf/Makefile.i386,v
retrieving revision 1.51
diff -u -p -r1.51 Makefile.i386
--- Makefile.i386       11 Jan 2009 21:02:03 -0000      1.51
+++ Makefile.i386       18 Oct 2009 19:48:41 -0000
@@ -190,7 +190,7 @@ locore.o: ${I386}/i386/locore.s assym.h
 MACHINE_NAME!=  uname -n
 install: install-kernel-${MACHINE_NAME}
 .if !target(install-kernel-${MACHINE_NAME}})
-install-kernel-${MACHINE_NAME}:
+install-kernel-${MACHINE_NAME}: bsd
        rm -f /obsd
        ln /bsd /obsd
        cp bsd /nbsd



# Han

Reply via email to