mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
libcurl: convert old-style hook to new-style
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f80d064572
commit
fa6c7989ac
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user