image.mk: make ubinize.cfg optional
authorFelix Fietkau <nbd@openwrt.org>
Sat, 27 Dec 2014 13:03:19 +0000 (13:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 27 Dec 2014 13:03:19 +0000 (13:03 +0000)
commitf22b382485839dceeac400900e56b39d27222746
tree83519cc8e1a524e339bd8bd0738a1297d9b22e26
parent2ef587a8fc61b4d6697f567e11023156946ffdf7
image.mk: make ubinize.cfg optional

When using UbinizeImage with ubifs rootfs, ubinize.cfg is no longer
needed. Yet, the absance of ubinize.cfg would make the build process
abort with an error.
Fix that by checking if ubinize.cfg is present and do no not call the
"classic" ubinize image generation if it isn't.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[missing new-line before UbinizeImage added itentionally]

SVN-Revision: 43788
include/image.mk