[Buildroot] [git commit] ccache: remove deprecated target package

Peter Korsgaard peter at korsgaard.com
Sat Feb 8 22:33:43 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=831624c4c45f7bbd08c4edd0d110ad60babd67b0
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The ccache target package has been deprecated since 2013.02 and thus can be
removed in 2014.02. This does not change anything about host ccache (used
for speeding up builds).

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 Config.in.legacy         |    8 ++++++++
 package/Config.in        |    1 -
 package/ccache/Config.in |   12 ------------
 package/ccache/ccache.mk |    1 -
 4 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index 893df6d..a417046 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -119,6 +119,14 @@ config BR2_sh3eb
 	  Due to an inexistent user base and generally poor Linux
 	  support, the support for the SH3eb architecture was removed.
 
+config BR2_PACKAGE_CCACHE
+	bool "ccache target package has been removed"
+	select BR2_LEGACY
+	help
+	  The 'ccache' target package has been removed since it has been
+	  deprecated for more than four buildroot releases.
+	  Note: using ccache for speeding up builds is still supported.
+
 config BR2_HAVE_DOCUMENTATION
 	bool "support for documentation on target has been removed"
 	select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index 2d74cf2..6c3e769 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -85,7 +85,6 @@ source "package/binutils/Config.in"
 source "package/bison/Config.in"
 source "package/bsdiff/Config.in"
 source "package/bustle/Config.in"
-source "package/ccache/Config.in"
 source "package/cvs/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/diffutils/Config.in"
diff --git a/package/ccache/Config.in b/package/ccache/Config.in
deleted file mode 100644
index 28d9468..0000000
--- a/package/ccache/Config.in
+++ /dev/null
@@ -1,12 +0,0 @@
-config BR2_PACKAGE_CCACHE
-	bool "ccache"
-	# needs fork()
-	depends on BR2_USE_MMU
-	# We no longer support a toolchain on the target
-	depends on BR2_DEPRECATED_SINCE_2013_02
-	help
-	  ccache is a compiler cache. It speeds up recompilation by
-	  caching previous compilations and detecting when the same
-	  compilation is being done again
-
-	  http://ccache.samba.org
diff --git a/package/ccache/ccache.mk b/package/ccache/ccache.mk
index 40485d1..c2c9731 100644
--- a/package/ccache/ccache.mk
+++ b/package/ccache/ccache.mk
@@ -38,7 +38,6 @@ endef
 HOST_CCACHE_POST_CONFIGURE_HOOKS += \
 	HOST_CCACHE_PATCH_CONFIGURATION
 
-$(eval $(autotools-package))
 $(eval $(host-autotools-package))
 
 ifeq ($(BR2_CCACHE),y)


More information about the buildroot mailing list