libreadline: add host-build
Also make sure that the PKG_NAME and folder name are equal. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
991899cc54
commit
04063820e8
2 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ PKG_FIXUP:=autoreconf
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
define Package/libreadline
|
define Package/libreadline
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
|
@ -69,4 +70,5 @@ define Package/libreadline/install
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{so,so.7,so.7.0} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{so,so.7,so.7.0} $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
$(eval $(call HostBuild))
|
||||||
$(eval $(call BuildPackage,libreadline))
|
$(eval $(call BuildPackage,libreadline))
|
Loading…
Reference in a new issue