Use InstallDev to make libubi-utils available for linking in uboot-envtools.
Signed-off-by: Daniel Golle <[email protected]> --- package/system/fstools/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile index 398f949..7096e9f 100644 --- a/package/system/fstools/Makefile +++ b/package/system/fstools/Makefile @@ -15,7 +15,7 @@ PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=git://nbd.name/fstools.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=efacbcb4973161c12cc9630d243669845db41a17 +PKG_SOURCE_VERSION:=5aa1ae47d73cf160e44d2454162f4a03acc8e404 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz CMAKE_INSTALL:=1 @@ -78,6 +78,13 @@ define Package/block-mount/install endef +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libubi-utils.a $(1)/usr/lib/ +endef + $(eval $(call BuildPackage,fstools)) $(eval $(call BuildPackage,ubi-flash)) $(eval $(call BuildPackage,block-mount)) -- 1.9.2
pgpZTg0Y8c4ff.pgp
Description: PGP signature
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
