]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86: minor polishing to top-level arch Makefile
authorJan Beulich <jbeulich@novell.com>
Tue, 22 Apr 2008 15:29:26 +0000 (16:29 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:28:04 +0000 (21:28 +0200)
Use build target when creating compatibility link, and use $(boot)
where possible.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Makefile

index 3cff3c894cf3c0cd80161d1f61a959cbb80f7106..5df0d1e330b16c699cf71d700dc3d8d11af30e6a 100644 (file)
@@ -210,12 +210,12 @@ all: bzImage
 
 # KBUILD_IMAGE specify target image being built
                     KBUILD_IMAGE := $(boot)/bzImage
-zImage zlilo zdisk: KBUILD_IMAGE := arch/x86/boot/zImage
+zImage zlilo zdisk: KBUILD_IMAGE := $(boot)/zImage
 
 zImage bzImage: vmlinux
        $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE)
        $(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot
-       $(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/$(UTS_MACHINE)/boot/bzImage
+       $(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/$(UTS_MACHINE)/boot/$@
 
 compressed: zImage