image: fix jffs2(_nand) image generation
authorJonas Gorski <jogo@openwrt.org>
Wed, 5 Aug 2015 13:55:52 +0000 (13:55 +0000)
committerJonas Gorski <jogo@openwrt.org>
Wed, 5 Aug 2015 13:55:52 +0000 (13:55 +0000)
commit9a21bbe635cd1ebbc11388b25e4339310c015814
tree249776c430feb12ac575182a62b558e500f652c4
parent05ef708e4a254fc8eb5d88762bd60214663d6cf4
image: fix jffs2(_nand) image generation

Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used
for template generation, so need to be present before inclusion of
image.mk in target image Makefiles.
So move all declarations to before any includes.

Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46564
target/linux/ar71xx/image/Makefile
target/linux/au1000/image/Makefile
target/linux/kirkwood/image/Makefile
target/linux/lantiq/image/Makefile
target/linux/mcs814x/image/Makefile
target/linux/mvebu/image/Makefile
target/linux/ppc44x/image/Makefile
target/linux/xburst/image/Makefile