Checks bootloader size not greater than 32k. Bug fixes.

This commit is contained in:
bsongis
2014-03-17 17:32:14 +01:00
parent 8bc28248e0
commit f907abb730
3 changed files with 6 additions and 6 deletions
+1 -3
View File
@@ -1104,10 +1104,8 @@ else
endif
# build bootloader
# TODO
# BL_SIZE=${shell sh -c "wc -c $^ | cut -d\ -f1"}
# if $(BL_SIZE)>32768 then $(error Bootloader doesn't fit in 32k flash); fi
bootloader.lbm: bootloader/bootloader_ramBoot.bin
test -z "$$(find $^ -size +32k)"
$(BIN2LBM) $^ $@
.PHONY bootloader/bootloader_ramBoot.bin: