From: Baruch Siach Date: Mon, 10 Feb 2020 12:06:59 +0000 (+0200) Subject: package/libcurl: rename curl binary config symbol X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a057339cc124bbf7c6a3e567fd57413bed3ddd5;p=buildroot.git package/libcurl: rename curl binary config symbol Package optional or choice config symbols are usually prefixed with the package config symbol name. Rename BR2_PACKAGE_CURL to BR2_PACKAGE_LIBCURL_CURL to conform. Update references to the old name. Cc: Matt Weber Signed-off-by: Baruch Siach Reviewed-by: Matt Weber Signed-off-by: Peter Korsgaard --- diff --git a/Config.in.legacy b/Config.in.legacy index bf69b579e3..87966facb4 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,14 @@ endif comment "Legacy options removed in 2020.02" +config BR2_PACKAGE_CURL + bool "BR2_PACKAGE_CURL was renamed" + select BR2_PACKAGE_LIBCURL_CURL + select BR2_LEGACY + help + The BR2_PACKAGE_CURL config symbol was renamed to + BR2_PACKAGE_LIBCURL_CURL. + config BR2_PACKAGE_GSTREAMER bool "gstreamer-0.10 removed" select BR2_LEGACY diff --git a/docs/manual/adding-packages-tips.txt b/docs/manual/adding-packages-tips.txt index d10f276e83..95a1d599ef 100644 --- a/docs/manual/adding-packages-tips.txt +++ b/docs/manual/adding-packages-tips.txt @@ -98,7 +98,7 @@ config snippet. For example, here's how you would test +libcurl+ with ---- $ cat libcurl.config BR2_PACKAGE_LIBCURL=y -BR2_PACKAGE_CURL=y +BR2_PACKAGE_LIBCURL_CURL=y BR2_PACKAGE_OPENSSL=y ---- diff --git a/package/dehydrated/Config.in b/package/dehydrated/Config.in index f14ae0f611..979938d70c 100644 --- a/package/dehydrated/Config.in +++ b/package/dehydrated/Config.in @@ -4,7 +4,7 @@ config BR2_PACKAGE_DEHYDRATED select BR2_PACKAGE_BASH select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_CURL + select BR2_PACKAGE_LIBCURL_CURL select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL diff --git a/package/glslsandbox-player/Config.in b/package/glslsandbox-player/Config.in index 32239d29d0..dc0d2c07f1 100644 --- a/package/glslsandbox-player/Config.in +++ b/package/glslsandbox-player/Config.in @@ -41,7 +41,7 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS select BR2_PACKAGE_BASH # runtime select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS if BR2_PACKAGE_BUSYBOX # bash select BR2_PACKAGE_COREUTILS # runtime (timeout) - select BR2_PACKAGE_CURL # runtime + select BR2_PACKAGE_LIBCURL_CURL # runtime select BR2_PACKAGE_IMAGEMAGICK # runtime select BR2_PACKAGE_JPEG # runtime select BR2_PACKAGE_LIBCURL # runtime diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in index 652285c0f8..d05cbedf77 100644 --- a/package/libcurl/Config.in +++ b/package/libcurl/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_LIBCURL if BR2_PACKAGE_LIBCURL -config BR2_PACKAGE_CURL +config BR2_PACKAGE_LIBCURL_CURL bool "curl binary" help Install curl binary as well diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index a7f10ddde5..16b11ca944 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -162,7 +162,7 @@ define LIBCURL_FIX_DOT_PC endef LIBCURL_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_LIBCURL_OPENSSL),LIBCURL_FIX_DOT_PC) -ifeq ($(BR2_PACKAGE_CURL),) +ifeq ($(BR2_PACKAGE_LIBCURL_CURL),) define LIBCURL_TARGET_CLEANUP rm -rf $(TARGET_DIR)/usr/bin/curl endef