Add Makefile definitions for http-client
This commit is contained in:
parent
7196b2cd84
commit
0a224c5ca8
1 changed files with 15 additions and 0 deletions
|
@ -182,6 +182,17 @@ define Package/luci-http/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
define Package/luci-httpclient
|
||||||
|
$(call Package/luci/libtemplate)
|
||||||
|
TITLE:=HTTP(S) client library
|
||||||
|
DEPENDS+=+luci-http +luci-nixio
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/luci-httpclient/install
|
||||||
|
$(call Package/luci/install/template,$(1),libs/httpclient)
|
||||||
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Package/luci-ipkg
|
define Package/luci-ipkg
|
||||||
$(call Package/luci/libtemplate)
|
$(call Package/luci/libtemplate)
|
||||||
TITLE:=LuCI IPKG/OPKG call abstraction library
|
TITLE:=LuCI IPKG/OPKG call abstraction library
|
||||||
|
@ -768,6 +779,9 @@ endif
|
||||||
ifneq ($(CONFIG_PACKAGE_luci-http),)
|
ifneq ($(CONFIG_PACKAGE_luci-http),)
|
||||||
PKG_SELECTED_MODULES+=libs/http
|
PKG_SELECTED_MODULES+=libs/http
|
||||||
endif
|
endif
|
||||||
|
ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
|
||||||
|
PKG_SELECTED_MODULES+=libs/httpclient
|
||||||
|
endif
|
||||||
ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
|
ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
|
||||||
PKG_SELECTED_MODULES+=libs/ipkg
|
PKG_SELECTED_MODULES+=libs/ipkg
|
||||||
endif
|
endif
|
||||||
|
@ -944,6 +958,7 @@ $(eval $(call BuildPackage,luci-core))
|
||||||
$(eval $(call BuildPackage,luci-cbi))
|
$(eval $(call BuildPackage,luci-cbi))
|
||||||
$(eval $(call BuildPackage,luci-fastindex))
|
$(eval $(call BuildPackage,luci-fastindex))
|
||||||
$(eval $(call BuildPackage,luci-http))
|
$(eval $(call BuildPackage,luci-http))
|
||||||
|
$(eval $(call BuildPackage,luci-httpclient))
|
||||||
$(eval $(call BuildPackage,luci-ipkg))
|
$(eval $(call BuildPackage,luci-ipkg))
|
||||||
$(eval $(call BuildPackage,luci-json))
|
$(eval $(call BuildPackage,luci-json))
|
||||||
$(eval $(call BuildPackage,luci-nixio))
|
$(eval $(call BuildPackage,luci-nixio))
|
||||||
|
|
Loading…
Reference in a new issue