Commit 3f0aba4a authored by Sam Ravnborg's avatar Sam Ravnborg

kbuild/all archs: Removed unused arch{clean,rproper} targets

The recent change in the top level makefile allowed this clean-up in all
the architecture specific Makefiles.
No functional changes, just deleted the now optional targets
parent 7806d2f1
...@@ -125,8 +125,6 @@ include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s ...@@ -125,8 +125,6 @@ include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
archclean: archclean:
$(Q)$(MAKE) -f scripts/Makefile.clean obj=$(boot) $(Q)$(MAKE) -f scripts/Makefile.clean obj=$(boot)
archmrproper:
CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h.tmp \ CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h.tmp \
include/asm-$(ARCH)/asm_offsets.h include/asm-$(ARCH)/asm_offsets.h
......
...@@ -181,7 +181,6 @@ MRPROPER_FILES += \ ...@@ -181,7 +181,6 @@ MRPROPER_FILES += \
include/asm-arm/mach-types.h include/asm-arm/mach-types.h
# We use MRPROPER_FILES and CLEAN_FILES now # We use MRPROPER_FILES and CLEAN_FILES now
archmrproper:
archclean: archclean:
$(Q)$(MAKE) $(clean)=$(boot) $(Q)$(MAKE) $(clean)=$(boot)
......
...@@ -51,14 +51,13 @@ drivers-$(CONFIG_IA64_SGI_SN) += arch/ia64/sn/fakeprom/ ...@@ -51,14 +51,13 @@ drivers-$(CONFIG_IA64_SGI_SN) += arch/ia64/sn/fakeprom/
makeboot =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/ia64/boot $(1) makeboot =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/ia64/boot $(1)
maketool =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/ia64/tools $(1) maketool =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/ia64/tools $(1)
.PHONY: boot compressed archclean archmrproper include/asm-ia64/offsets.h .PHONY: boot compressed include/asm-ia64/offsets.h
all compressed: vmlinux.gz all compressed: vmlinux.gz
vmlinux.gz: vmlinux vmlinux.gz: vmlinux
$(call makeboot,vmlinux.gz) $(call makeboot,vmlinux.gz)
archmrproper:
archclean: archclean:
$(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/ia64/boot $(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/ia64/boot
......
...@@ -113,5 +113,3 @@ endif ...@@ -113,5 +113,3 @@ endif
archclean: archclean:
rm -f vmlinux.gz vmlinux.bz2 rm -f vmlinux.gz vmlinux.bz2
rm -f arch/m68k/kernel/m68k_defs.h arch/m68k/kernel/m68k_defs.d rm -f arch/m68k/kernel/m68k_defs.h arch/m68k/kernel/m68k_defs.d
archmrproper:
...@@ -98,8 +98,6 @@ libs-y += arch/m68knommu/lib/ ...@@ -98,8 +98,6 @@ libs-y += arch/m68knommu/lib/
prepare: include/asm-$(ARCH)/asm-offsets.h prepare: include/asm-$(ARCH)/asm-offsets.h
archmrproper:
archclean: archclean:
$(call descend arch/$(ARCH)/boot, subdirclean) $(call descend arch/$(ARCH)/boot, subdirclean)
......
...@@ -96,9 +96,6 @@ include/asm-parisc/offsets.h: arch/parisc/kernel/asm-offsets.s ...@@ -96,9 +96,6 @@ include/asm-parisc/offsets.h: arch/parisc/kernel/asm-offsets.s
@$(generate-asm-offsets.h) < $< > $@.tmp @$(generate-asm-offsets.h) < $< > $@.tmp
@$(update-if-changed) @$(update-if-changed)
archclean:
archmrproper:
CLEAN_FILES += palo.conf lifimage include/asm-parisc/offsets.h \ CLEAN_FILES += palo.conf lifimage include/asm-parisc/offsets.h \
include/asm-parisc/offsets.h.tmp include/asm-parisc/offsets.h.tmp
......
...@@ -59,7 +59,7 @@ drivers-$(CONFIG_OCP) += arch/ppc/ocp/ ...@@ -59,7 +59,7 @@ drivers-$(CONFIG_OCP) += arch/ppc/ocp/
BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd pImage vmlinux.sm BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd pImage vmlinux.sm
.PHONY: $(BOOT_TARGETS) clean archclean archmrproper .PHONY: $(BOOT_TARGETS)
all: zImage all: zImage
...@@ -78,8 +78,6 @@ $(BOOT_TARGETS): vmlinux ...@@ -78,8 +78,6 @@ $(BOOT_TARGETS): vmlinux
archclean: archclean:
$(Q)$(MAKE) $(clean)=arch/ppc/boot $(Q)$(MAKE) $(clean)=arch/ppc/boot
archmrproper:
prepare: include/asm-$(ARCH)/offsets.h checkbin prepare: include/asm-$(ARCH)/offsets.h checkbin
arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
......
...@@ -38,7 +38,6 @@ listing image: vmlinux ...@@ -38,7 +38,6 @@ listing image: vmlinux
install: vmlinux install: vmlinux
$(call makeboot, $@) $(call makeboot, $@)
archmrproper:
archclean: archclean:
$(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/$(ARCH)/boot $(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/$(ARCH)/boot
......
...@@ -38,7 +38,6 @@ listing image: vmlinux ...@@ -38,7 +38,6 @@ listing image: vmlinux
install: vmlinux install: vmlinux
$(call makeboot, $@) $(call makeboot, $@)
archmrproper:
archclean: archclean:
$(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/$(ARCH)/boot $(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/$(ARCH)/boot
......
...@@ -81,5 +81,3 @@ archclean: ...@@ -81,5 +81,3 @@ archclean:
$(MAKE) -C arch/$(ARCH)/stboards clean $(MAKE) -C arch/$(ARCH)/stboards clean
# $(MAKE) -C arch/$(ARCH)/tools clean # $(MAKE) -C arch/$(ARCH)/tools clean
archmrproper:
...@@ -61,8 +61,6 @@ image tftpboot.img: vmlinux ...@@ -61,8 +61,6 @@ image tftpboot.img: vmlinux
archclean: archclean:
$(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/$(ARCH)/boot $(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/$(ARCH)/boot
archmrproper:
prepare: include/asm-$(ARCH)/asm_offsets.h prepare: include/asm-$(ARCH)/asm_offsets.h
arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
......
...@@ -74,10 +74,6 @@ drivers-$(CONFIG_OPROFILE) += arch/sparc64/oprofile/ ...@@ -74,10 +74,6 @@ drivers-$(CONFIG_OPROFILE) += arch/sparc64/oprofile/
tftpboot.img vmlinux.aout: tftpboot.img vmlinux.aout:
$(Q)$(MAKE) $(build)=arch/sparc64/boot arch/sparc64/boot/$@ $(Q)$(MAKE) $(build)=arch/sparc64/boot arch/sparc64/boot/$@
archclean:
archmrproper:
define archhelp define archhelp
echo '* vmlinux - Standard sparc64 kernel' echo '* vmlinux - Standard sparc64 kernel'
echo ' vmlinux.aout - a.out kernel for sparc64' echo ' vmlinux.aout - a.out kernel for sparc64'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment