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)
commit17ace69bf77eb104d0b555496297eb537cb17679
treed19828256aed657d8cfd22f86c5b37f6ab712630
parent9d94ace19a395f30a969728f81d77eb0b4bbd0ba
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