summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-02 12:44:16 +0000
committerJohn Crispin <john@openwrt.org>2014-06-02 12:44:16 +0000
commit85b8897d1a20b774ffeb7432e7efeb2ec97049e6 (patch)
treee78d72bb936cfa0a8bf5b2385d73783236904935 /package
parent3936ed402896c4e35ba9a84cc31f92feecb0a139 (diff)
downloadmtk-20170518-85b8897d1a20b774ffeb7432e7efeb2ec97049e6.zip
mtk-20170518-85b8897d1a20b774ffeb7432e7efeb2ec97049e6.tar.gz
mtk-20170518-85b8897d1a20b774ffeb7432e7efeb2ec97049e6.tar.bz2
fstools: stage libubi-utils static library and headers
Use InstallDev to make libubi-utils available for linking in uboot-envtools. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40928
Diffstat (limited to 'package')
-rw-r--r--package/system/fstools/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile
index 40adf0a..b10f105 100644
--- a/package/system/fstools/Makefile
+++ b/package/system/fstools/Makefile
@@ -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))