summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-02-23 17:32:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-02-23 17:32:11 +0000
commit01c4775116dfc20da754bb8253349fb837e2fc53 (patch)
tree278fde4dddf08d78ae901580641eb8ed40fecb97
parent538e38f5d3261c0d0ffa9e12d6dd52d93d93f0a6 (diff)
downloadmtk-20170518-01c4775116dfc20da754bb8253349fb837e2fc53.zip
mtk-20170518-01c4775116dfc20da754bb8253349fb837e2fc53.tar.gz
mtk-20170518-01c4775116dfc20da754bb8253349fb837e2fc53.tar.bz2
ubus: declare main version as ABI version for libubus
Reorder BuildPackage calls, as libubox needs to come first for ABI version handling to work Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39722
-rw-r--r--package/system/ubus/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/system/ubus/Makefile b/package/system/ubus/Makefile
index 3da6d16..34ff179 100644
--- a/package/system/ubus/Makefile
+++ b/package/system/ubus/Makefile
@@ -38,6 +38,7 @@ define Package/libubus
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libubox
+ ABI_VERSION:=$(PKG_VERSION)
TITLE:=OpenWrt RPC client library
endef
@@ -73,8 +74,7 @@ define Package/libubus-lua/install
$(CP) $(PKG_BUILD_DIR)/lua/ubus.so $(1)/usr/lib/lua/
endef
-$(eval $(call BuildPackage,ubus))
-$(eval $(call BuildPackage,ubusd))
$(eval $(call BuildPackage,libubus))
$(eval $(call BuildPackage,libubus-lua))
-
+$(eval $(call BuildPackage,ubus))
+$(eval $(call BuildPackage,ubusd))