mirror of https://github.com/hak5/openwrt-owl.git
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: 40928owl
parent
3936ed4028
commit
85b8897d1a
|
@ -78,6 +78,13 @@ define Package/block-mount/install
|
||||||
|
|
||||||
endef
|
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,fstools))
|
||||||
$(eval $(call BuildPackage,ubi-flash))
|
$(eval $(call BuildPackage,ubi-flash))
|
||||||
$(eval $(call BuildPackage,block-mount))
|
$(eval $(call BuildPackage,block-mount))
|
||||||
|
|
Loading…
Reference in New Issue