diff --git a/core/Makefile b/core/Makefile index 7ba33a6d45..161cb1805b 100644 --- a/core/Makefile +++ b/core/Makefile @@ -704,6 +704,10 @@ else mkyaffs2_extra_flags := endif +ifneq ($(BOARD_NAND_SPARE_SIZE),) +mkyaffs2_extra_flags += -s $(BOARD_NAND_SPARE_SIZE) +endif + # ----------------------------------------------------------------- # system image