diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-09-01 22:39:37 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-09-12 19:25:00 +0200 |
commit | fa6c7989acb94e4df7ab42cec252d946e8fb0c43 (patch) | |
tree | 4c23fd7e3d895c469bdc13577609750e9afd4b8d /package/libcurl | |
parent | f80d06457279c27689fddcb7ef110f30547f4d7b (diff) | |
download | buildroot-novena-fa6c7989acb94e4df7ab42cec252d946e8fb0c43.tar.gz buildroot-novena-fa6c7989acb94e4df7ab42cec252d946e8fb0c43.zip |
libcurl: convert old-style hook to new-style
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libcurl')
-rw-r--r-- | package/libcurl/libcurl.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index 488df0455..782bfb3ed 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -23,12 +23,14 @@ else LIBCURL_CONF_OPT += --without-ssl endif -$(eval $(call AUTOTARGETS,package,libcurl)) - -$(LIBCURL_HOOK_POST_INSTALL): +define LIBCURL_TARGET_CLEANUP rm -rf $(TARGET_DIR)/usr/bin/curl-config \ $(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-clean: libcurl-clean |