diff options
author | John Crispin <john@openwrt.org> | 2014-06-02 12:44:16 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-02 12:44:16 +0000 |
commit | 85b8897d1a20b774ffeb7432e7efeb2ec97049e6 (patch) | |
tree | e78d72bb936cfa0a8bf5b2385d73783236904935 | |
parent | 3936ed402896c4e35ba9a84cc31f92feecb0a139 (diff) | |
download | mtk-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
-rw-r--r-- | package/system/fstools/Makefile | 7 |
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)) |