]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
libreadline: add host-build
authorDaniel Golle <daniel@makrotopia.org>
Sat, 24 Jun 2017 11:58:56 +0000 (13:58 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 24 Jun 2017 12:38:14 +0000 (14:38 +0200)
Also make sure that the PKG_NAME and folder name are equal.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/libs/readline/Makefile [moved from package/libs/libreadline/Makefile with 96% similarity]
package/libs/readline/patches/001-install_perm.patch [moved from package/libs/libreadline/patches/001-install_perm.patch with 100% similarity]

similarity index 96%
rename from package/libs/libreadline/Makefile
rename to package/libs/readline/Makefile
index 3c1b048fe8fe0715d45e578806601debefa1387c..ccd20a4b185afbda05e4efb7afb4935a333d2993 100644 (file)
@@ -23,6 +23,7 @@ PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/host-build.mk
 
 define Package/libreadline
   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/
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,libreadline))