package/odhcp6c: add optional libubox dependency

libubox dependency has been added in
33a2ba1c14

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-03-25 18:59:33 +01:00 committed by Thomas Petazzoni
parent 6c849a63ac
commit 93f7712511

View File

@ -16,4 +16,11 @@ endef
ODHCP6C_POST_INSTALL_TARGET_HOOKS += ODHCP6C_INSTALL_SCRIPT
ifeq ($(BR2_PACKAGE_LIBUBOX),y)
ODHCP6C_CONF_OPTS += -DUSE_LIBUBOX=1
ODHCP6C_DEPENDENCIES += libubox
else
ODHCP6C_CONF_OPTS += -DUSE_LIBUBOX=0
endif
$(eval $(cmake-package))