From: Fabrice Fontaine Date: Mon, 25 Mar 2019 17:59:33 +0000 (+0100) Subject: package/odhcp6c: add optional libubox dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93f77125112ee5335719065cdfcfb1593caa7c27;p=buildroot.git package/odhcp6c: add optional libubox dependency libubox dependency has been added in https://github.com/openwrt/odhcp6c/commit/33a2ba1c14eb5447326945c120e0b64a587ed151 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/odhcp6c/odhcp6c.mk b/package/odhcp6c/odhcp6c.mk index 735b47420f..3b4e7580a2 100644 --- a/package/odhcp6c/odhcp6c.mk +++ b/package/odhcp6c/odhcp6c.mk @@ -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))