aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/Makefile')
-rw-r--r--arch/x86_64/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile
index c10c8233a893..11ef2c37ba57 100644
--- a/arch/x86_64/Makefile
+++ b/arch/x86_64/Makefile
@@ -82,7 +82,7 @@ core-$(CONFIG_IA32_EMULATION) += arch/x86_64/ia32/
82drivers-$(CONFIG_PCI) += arch/x86/pci/ 82drivers-$(CONFIG_PCI) += arch/x86/pci/
83drivers-$(CONFIG_OPROFILE) += arch/x86/oprofile/ 83drivers-$(CONFIG_OPROFILE) += arch/x86/oprofile/
84 84
85boot := arch/x86_64/boot 85boot := arch/x86/boot
86 86
87PHONY += bzImage bzlilo install archmrproper \ 87PHONY += bzImage bzlilo install archmrproper \
88 fdimage fdimage144 fdimage288 isoimage archclean 88 fdimage fdimage144 fdimage288 isoimage archclean
@@ -90,10 +90,12 @@ PHONY += bzImage bzlilo install archmrproper \
90#Default target when executing "make" 90#Default target when executing "make"
91all: bzImage 91all: bzImage
92 92
93BOOTIMAGE := arch/x86_64/boot/bzImage 93BOOTIMAGE := arch/x86/boot/bzImage
94KBUILD_IMAGE := $(BOOTIMAGE) 94KBUILD_IMAGE := $(BOOTIMAGE)
95 95
96bzImage: vmlinux 96bzImage: vmlinux
97 $(Q)mkdir -p $(objtree)/arch/x86_64/boot
98 $(Q)ln -fsn $(objtree)/arch/x86/boot/bzImage $(objtree)/arch/x86_64/boot/bzImage
97 $(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE) 99 $(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE)
98 100
99bzlilo: vmlinux 101bzlilo: vmlinux
@@ -109,6 +111,7 @@ install:
109 $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) $@ 111 $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) $@
110 112
111archclean: 113archclean:
114 $(Q)rm -rf $(objtree)/arch/x86_64/boot
112 $(Q)$(MAKE) $(clean)=$(boot) 115 $(Q)$(MAKE) $(clean)=$(boot)
113 116
114define archhelp 117define archhelp