summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-04-22 16:29:26 +0100
committerIngo Molnar <mingo@elte.hu>2008-05-12 21:28:04 +0200
commit41b3eae669fb1ef6ae4acaa937b4e4617a1aa078 (patch)
tree4995c39a6d581d53a00d29d4320e8deabe196e3f /arch/x86
parent492c2e476eac010962850006c49df326919b284c (diff)
downloadop-kernel-dev-41b3eae669fb1ef6ae4acaa937b4e4617a1aa078.zip
op-kernel-dev-41b3eae669fb1ef6ae4acaa937b4e4617a1aa078.tar.gz
x86: minor polishing to top-level arch Makefile
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index 3cff3c8..5df0d1e 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -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
OpenPOWER on IntegriCloud