From 4d2d2d6bb93faba038710835583cc549b3191647 Mon Sep 17 00:00:00 2001 From: "Paolo \\'Blaisorblade\\' Giarrusso" Date: Mon, 18 Oct 2004 09:05:54 -0700 Subject: [PATCH] [PATCH] uml: readd linux Makefile target 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 Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/um/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/um/Makefile b/arch/um/Makefile index 0406c1a90714f..425d138d040c6 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile @@ -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 -- 2.53.0