summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArun Bhanu <arun@bhanu.net>2010-03-17 09:06:04 +0100
committerMichal Simek <monstr@monstr.eu>2010-04-01 08:38:19 +0200
commit6fa114e0f18fb33b66fd5ee9037052830198a8c4 (patch)
treebc308cfb082107b41b454e4680b94bc2bef498ba /arch
parentmicroblaze: Fix Makefile to delete build generated files (diff)
downloadlinux-6fa114e0f18fb33b66fd5ee9037052830198a8c4.tar.xz
linux-6fa114e0f18fb33b66fd5ee9037052830198a8c4.zip
microblaze: Makefile cleanups
If CONFIG_INITRAMFS_SOURCE is set, "scripts/gen_initramfs_list.sh" checks if the cpio image exists. Remove the duplicate check from the Makefile. Remove the "clean-kernel" variable which is unused in the Makefile and is not used by the Kbuild. Signed-off-by: Arun Bhanu <arun@bhanu.net> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/boot/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile
index a1fc32421782..57f50c2371c6 100644
--- a/arch/microblaze/boot/Makefile
+++ b/arch/microblaze/boot/Makefile
@@ -23,8 +23,6 @@ $(obj)/system.dtb: $(obj)/$(DTB).dtb
endif
$(obj)/linux.bin: vmlinux FORCE
- [ -n $(CONFIG_INITRAMFS_SOURCE) ] && [ ! -e $(CONFIG_INITRAMFS_SOURCE) ] && \
- touch $(CONFIG_INITRAMFS_SOURCE) || echo "No CPIO image"
$(call if_changed,objcopy)
$(call if_changed,uimage)
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
@@ -62,6 +60,4 @@ quiet_cmd_dtc = DTC $@
$(obj)/%.dtb: $(dtstree)/%.dts FORCE
$(call if_changed,dtc)
-clean-kernel += linux.bin linux.bin.gz simpleImage.*
-
clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub