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
lede-17.01
Felix Fietkau 2014-02-23 17:32:11 +00:00
parent 538e38f5d3
commit 01c4775116
1 changed files with 3 additions and 3 deletions

View File

@ -38,6 +38,7 @@ define Package/libubus
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
DEPENDS:=+libubox DEPENDS:=+libubox
ABI_VERSION:=$(PKG_VERSION)
TITLE:=OpenWrt RPC client library TITLE:=OpenWrt RPC client library
endef endef
@ -73,8 +74,7 @@ define Package/libubus-lua/install
$(CP) $(PKG_BUILD_DIR)/lua/ubus.so $(1)/usr/lib/lua/ $(CP) $(PKG_BUILD_DIR)/lua/ubus.so $(1)/usr/lib/lua/
endef endef
$(eval $(call BuildPackage,ubus))
$(eval $(call BuildPackage,ubusd))
$(eval $(call BuildPackage,libubus)) $(eval $(call BuildPackage,libubus))
$(eval $(call BuildPackage,libubus-lua)) $(eval $(call BuildPackage,libubus-lua))
$(eval $(call BuildPackage,ubus))
$(eval $(call BuildPackage,ubusd))