image.mk: make ubinize.cfg optional
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Dec 2014 13:03:19 +0000 (13:03 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Dec 2014 13:03:19 +0000 (13:03 +0000)
commit75be0e0d4213b2415be42a961a44ce5cea6944c1
treed19828256aed657d8cfd22f86c5b37f6ab712630
parentea2d8858a362094de0e145063950dc2328f7fe60
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]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43788 3c298f89-4303-0410-b956-a3cf2f4a3e73
include/image.mk