blob: 6695362151bb81ddd1c4547d3cf5adc52acd9d3a [file] [log] [blame]
ifeq ($(ROOTDIR),)
$(error $$ROOTDIR IS NOT DEFINED -- don\'t forget to source setup.sh)
endif
include $(ROOTDIR)/build/preamble.mk
boot: $(PRODUCT_OUT)/boot.img
$(PRODUCT_OUT)/boot.img:
fallocate -l 128M $@
mkfs.ext2 -F $@
targets::
@echo "boot - builds the kernel and boot partition"
clean::
rm -f $(PRODUCT_OUT)/boot.img
.PHONY:: boot