diff options
-rw-r--r-- | arch/i386/Makefile | 4 | ||||
-rw-r--r-- | arch/x86_64/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index f036d2dee3de..d82f11de60ce 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -131,9 +131,9 @@ all: bzImage | |||
131 | zImage zlilo zdisk: KBUILD_IMAGE := arch/x86/boot/zImage | 131 | zImage zlilo zdisk: KBUILD_IMAGE := arch/x86/boot/zImage |
132 | 132 | ||
133 | zImage bzImage: vmlinux | 133 | zImage bzImage: vmlinux |
134 | $(Q)mkdir -p $(objtree)/arch/i386/boot | ||
135 | $(Q)ln -fsn $(objtree)/arch/x86/boot/bzImage $(objtree)/arch/i386/boot/bzImage | ||
136 | $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) | 134 | $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) |
135 | $(Q)mkdir -p $(objtree)/arch/i386/boot | ||
136 | $(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/i386/boot/bzImage | ||
137 | 137 | ||
138 | compressed: zImage | 138 | compressed: zImage |
139 | 139 | ||
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index 03e1ede27b85..f48d862397fb 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile | |||
@@ -97,9 +97,9 @@ BOOTIMAGE := arch/x86/boot/bzImage | |||
97 | KBUILD_IMAGE := $(BOOTIMAGE) | 97 | KBUILD_IMAGE := $(BOOTIMAGE) |
98 | 98 | ||
99 | bzImage: vmlinux | 99 | bzImage: vmlinux |
100 | $(Q)mkdir -p $(objtree)/arch/x86_64/boot | ||
101 | $(Q)ln -fsn $(objtree)/arch/x86/boot/bzImage $(objtree)/arch/x86_64/boot/bzImage | ||
102 | $(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE) | 100 | $(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE) |
101 | $(Q)mkdir -p $(objtree)/arch/x86_64/boot | ||
102 | $(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/x86_64/boot/bzImage | ||
103 | 103 | ||
104 | bzlilo: vmlinux | 104 | bzlilo: vmlinux |
105 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) zlilo | 105 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) zlilo |