diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-03-12 15:50:33 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-03-12 15:50:33 -0400 |
commit | f9c5107c2bcad91dd56d23888653d7bfa1a9696e (patch) | |
tree | a548fb8fbe08f8c61a5491a34cc78a1158f5d38b /arch/x86/Makefile | |
parent | 5e47c478b0b69bc9bc3ba544e4b1ca3268f98fef (diff) |
x86: remove additional vestiges of the zImage/bzImage split
Impact: cleanup
Remove targets that were used for zImage only, and Makefile
infrastructure that was there to support the zImage/bzImage split.
Reported-by: Paul Bolle <pebolle@tiscali.nl>
LKML-Reference: <1236879901.24144.26.camel@test.thuisdomein>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r-- | arch/x86/Makefile | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 1836191839ee..43bd89c67e3a 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile | |||
@@ -153,34 +153,23 @@ endif | |||
153 | 153 | ||
154 | boot := arch/x86/boot | 154 | boot := arch/x86/boot |
155 | 155 | ||
156 | PHONY += zImage bzImage compressed zlilo bzlilo \ | 156 | BOOT_TARGETS = bzlilo bzdisk fdimage fdimage144 fdimage288 isoimage install |
157 | zdisk bzdisk fdimage fdimage144 fdimage288 isoimage install | 157 | |
158 | PHONY += bzImage $(BOOT_TARGETS) | ||
158 | 159 | ||
159 | # Default kernel to build | 160 | # Default kernel to build |
160 | all: bzImage | 161 | all: bzImage |
161 | 162 | ||
162 | # KBUILD_IMAGE specify target image being built | 163 | # KBUILD_IMAGE specify target image being built |
163 | KBUILD_IMAGE := $(boot)/bzImage | 164 | KBUILD_IMAGE := $(boot)/bzImage |
164 | zImage zlilo zdisk: KBUILD_IMAGE := $(boot)/zImage | ||
165 | 165 | ||
166 | zImage bzImage: vmlinux | 166 | bzImage: vmlinux |
167 | $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) | 167 | $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) |
168 | $(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot | 168 | $(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot |
169 | $(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/$(UTS_MACHINE)/boot/$@ | 169 | $(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/$(UTS_MACHINE)/boot/$@ |
170 | 170 | ||
171 | compressed: zImage | 171 | $(BOOT_TARGETS): vmlinux |
172 | 172 | $(Q)$(MAKE) $(build)=$(boot) $@ | |
173 | zlilo bzlilo: vmlinux | ||
174 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) zlilo | ||
175 | |||
176 | zdisk bzdisk: vmlinux | ||
177 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) zdisk | ||
178 | |||
179 | fdimage fdimage144 fdimage288 isoimage: vmlinux | ||
180 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) $@ | ||
181 | |||
182 | install: | ||
183 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install | ||
184 | 173 | ||
185 | PHONY += vdso_install | 174 | PHONY += vdso_install |
186 | vdso_install: | 175 | vdso_install: |
@@ -208,4 +197,4 @@ endef | |||
208 | 197 | ||
209 | CLEAN_FILES += arch/x86/boot/fdimage \ | 198 | CLEAN_FILES += arch/x86/boot/fdimage \ |
210 | arch/x86/boot/image.iso \ | 199 | arch/x86/boot/image.iso \ |
211 | arch/x86/boot/mtools.conf | 200 | arch/x86/boot/mtools.conf \ No newline at end of file |