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)
commitdbe4173b206b4180e1ce03e545b63ab40ccb1cc1
treee5107e4b2e3379b96a3bab6ff7abcf87f03242af
parent3368b4799b527a4179d9eac77acc90ce81125964
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