mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
libcurl: convert old-style hook to new-style
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -23,12 +23,14 @@ else
|
|||||||
LIBCURL_CONF_OPT += --without-ssl
|
LIBCURL_CONF_OPT += --without-ssl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,libcurl))
|
define LIBCURL_TARGET_CLEANUP
|
||||||
|
|
||||||
$(LIBCURL_HOOK_POST_INSTALL):
|
|
||||||
rm -rf $(TARGET_DIR)/usr/bin/curl-config \
|
rm -rf $(TARGET_DIR)/usr/bin/curl-config \
|
||||||
$(if $(BR2_PACKAGE_CURL),,$(TARGET_DIR)/usr/bin/curl)
|
$(if $(BR2_PACKAGE_CURL),,$(TARGET_DIR)/usr/bin/curl)
|
||||||
touch $@
|
endef
|
||||||
|
|
||||||
|
LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP
|
||||||
|
|
||||||
|
$(eval $(call AUTOTARGETS,package,libcurl))
|
||||||
|
|
||||||
curl: libcurl
|
curl: libcurl
|
||||||
curl-clean: libcurl-clean
|
curl-clean: libcurl-clean
|
||||||
|
|||||||
Reference in New Issue
Block a user