diff options
Diffstat (limited to 'arch/i386/Makefile')
-rw-r--r-- | arch/i386/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index 510df782f940..776d8dcf2340 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -116,7 +116,7 @@ drivers-$(CONFIG_FB) += arch/i386/video/ | |||
116 | CFLAGS += $(mflags-y) | 116 | CFLAGS += $(mflags-y) |
117 | AFLAGS += $(mflags-y) | 117 | AFLAGS += $(mflags-y) |
118 | 118 | ||
119 | boot := arch/i386/boot | 119 | boot := arch/x86/boot |
120 | 120 | ||
121 | PHONY += zImage bzImage compressed zlilo bzlilo \ | 121 | PHONY += zImage bzImage compressed zlilo bzlilo \ |
122 | zdisk bzdisk fdimage fdimage144 fdimage288 isoimage install | 122 | zdisk bzdisk fdimage fdimage144 fdimage288 isoimage install |
@@ -125,9 +125,11 @@ all: bzImage | |||
125 | 125 | ||
126 | # KBUILD_IMAGE specify target image being built | 126 | # KBUILD_IMAGE specify target image being built |
127 | KBUILD_IMAGE := $(boot)/bzImage | 127 | KBUILD_IMAGE := $(boot)/bzImage |
128 | zImage zlilo zdisk: KBUILD_IMAGE := arch/i386/boot/zImage | 128 | zImage zlilo zdisk: KBUILD_IMAGE := arch/x86/boot/zImage |
129 | 129 | ||
130 | zImage bzImage: vmlinux | 130 | zImage bzImage: vmlinux |
131 | $(Q)mkdir -p $(objtree)/arch/i386/boot | ||
132 | $(Q)ln -fsn $(objtree)/arch/x86/boot/bzImage $(objtree)/arch/i386/boot/bzImage | ||
131 | $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) | 133 | $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) |
132 | 134 | ||
133 | compressed: zImage | 135 | compressed: zImage |
@@ -145,7 +147,8 @@ install: | |||
145 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install | 147 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install |
146 | 148 | ||
147 | archclean: | 149 | archclean: |
148 | $(Q)$(MAKE) $(clean)=arch/i386/boot | 150 | $(Q)rm -rf $(objtree)/arch/i386/boot |
151 | $(Q)$(MAKE) $(clean)=arch/x86/boot | ||
149 | 152 | ||
150 | define archhelp | 153 | define archhelp |
151 | echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' | 154 | echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' |