summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 2cad2304d5..c275d1efa5 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -705,6 +705,11 @@ $(objcbfs)/bootblock.raw.bin: $(objcbfs)/bootblock.raw.elf
@printf " OBJCOPY $(notdir $(@))\n"
$(OBJCOPY_bootblock) -O binary $< $@
+ifneq ($(CONFIG_HAVE_BOOTBLOCK),y)
+$(objcbfs)/bootblock.bin:
+ dd if=/dev/zero of=$@ bs=64 count=1
+endif
+
$(objcbfs)/%.bin: $(objcbfs)/%.raw.bin
cp $< $@