]> git.hungrycats.org Git - linux/commitdiff
[PATCH] uml: readd linux Makefile target
authorPaolo \'Blaisorblade\' Giarrusso <blaisorblade_spam@yahoo.it>
Mon, 18 Oct 2004 16:05:54 +0000 (09:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 16:05:54 +0000 (09:05 -0700)
Since people are used to doing "make linux ARCH=um" and to use "linux" as
the kernel image, make it be an hard link to vmlinux.  This should hurt the
less possible the users (actually nothing) while not slowing down the
build.

Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/Makefile

index 0406c1a90714f3de31e809736465469fe694cb2d..425d138d040c64afb97f8bed89bf36bd561b27d1 100644 (file)
@@ -62,6 +62,18 @@ ifeq ($(CONFIG_MODE_SKAS), y)
 $(SYS_HEADERS) : $(ARCH_DIR)/include/skas_ptregs.h
 endif
 
+all: linux
+
+linux: vmlinux
+       $(RM) $@
+       ln $< $@
+
+define archhelp
+  echo '* linux                - Binary kernel image (./linux) - for backward'
+  echo '                  compatibility only: now you can simply run'
+  echo '                  the vmlinux binary you find in the kernel root.'
+endef
+
 prepare: $(ARCH_SYMLINKS) $(SYS_HEADERS) $(GEN_HEADERS) \
        $(ARCH_DIR)/kernel/vmlinux.lds.S