summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/boot/Makefile
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-05-26 16:30:32 +0200
committerMichal Simek <monstr@monstr.eu>2009-05-26 16:45:24 +0200
commit4b2368ffd6e3563b73b8391c133822a58b1b432a (patch)
treef1f9ca02d2189b6654884d0d02428db2fbf66346 /arch/microblaze/boot/Makefile
parenta116f6d5db4476d0c941b495a6122b0130bbf20b (diff)
downloadop-kernel-dev-4b2368ffd6e3563b73b8391c133822a58b1b432a.zip
op-kernel-dev-4b2368ffd6e3563b73b8391c133822a58b1b432a.tar.gz
microblaze_mmu_v2: Makefiles
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/boot/Makefile')
-rw-r--r--arch/microblaze/boot/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile
index 844edf4..c2bb043 100644
--- a/arch/microblaze/boot/Makefile
+++ b/arch/microblaze/boot/Makefile
@@ -7,6 +7,8 @@ targets := linux.bin linux.bin.gz
OBJCOPYFLAGS_linux.bin := -O binary
$(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)
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
OpenPOWER on IntegriCloud