diff options
| author | Arun Bhanu <arun@bhanu.net> | 2010-03-17 04:06:04 -0400 |
|---|---|---|
| committer | Michal Simek <monstr@monstr.eu> | 2010-04-01 02:38:19 -0400 |
| commit | 6fa114e0f18fb33b66fd5ee9037052830198a8c4 (patch) | |
| tree | bc308cfb082107b41b454e4680b94bc2bef498ba /arch/microblaze/boot | |
| parent | 8a8804f1ab2d3226bfa9f9a64c4316f9a01f8ee9 (diff) | |
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/microblaze/boot')
| -rw-r--r-- | arch/microblaze/boot/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile index a1fc3242178..57f50c2371c 100644 --- a/arch/microblaze/boot/Makefile +++ b/arch/microblaze/boot/Makefile | |||
| @@ -23,8 +23,6 @@ $(obj)/system.dtb: $(obj)/$(DTB).dtb | |||
| 23 | endif | 23 | endif |
| 24 | 24 | ||
| 25 | $(obj)/linux.bin: vmlinux FORCE | 25 | $(obj)/linux.bin: vmlinux FORCE |
| 26 | [ -n $(CONFIG_INITRAMFS_SOURCE) ] && [ ! -e $(CONFIG_INITRAMFS_SOURCE) ] && \ | ||
| 27 | touch $(CONFIG_INITRAMFS_SOURCE) || echo "No CPIO image" | ||
| 28 | $(call if_changed,objcopy) | 26 | $(call if_changed,objcopy) |
| 29 | $(call if_changed,uimage) | 27 | $(call if_changed,uimage) |
| 30 | @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' | 28 | @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' |
| @@ -62,6 +60,4 @@ quiet_cmd_dtc = DTC $@ | |||
| 62 | $(obj)/%.dtb: $(dtstree)/%.dts FORCE | 60 | $(obj)/%.dtb: $(dtstree)/%.dts FORCE |
| 63 | $(call if_changed,dtc) | 61 | $(call if_changed,dtc) |
| 64 | 62 | ||
| 65 | clean-kernel += linux.bin linux.bin.gz simpleImage.* | ||
| 66 | |||
| 67 | clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub | 63 | clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub |
