summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-07-06 23:44:04 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-07-06 23:44:04 +0200
commit3185dac9cc43c87caada7f4b181924cbdd6b44bf (patch)
tree0ca4708016af1732d6a47b96466e2004d3620c94 /kconfig
parent5e3252953ed841eafe26862ca8d4710c216c6bb3 (diff)
downloadembtoolkit-3185dac9cc43c87caada7f4b181924cbdd6b44bf.tar.gz
embtoolkit-3185dac9cc43c87caada7f4b181924cbdd6b44bf.tar.bz2
embtoolkit-3185dac9cc43c87caada7f4b181924cbdd6b44bf.tar.xz
Toolchain: ccache: convert to use generic macros
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/ccache.kconfig49
-rw-r--r--kconfig/toolchain.kconfig5
2 files changed, 54 insertions, 0 deletions
diff --git a/kconfig/ccache.kconfig b/kconfig/ccache.kconfig
new file mode 100644
index 0000000..83c764a
--- /dev/null
+++ b/kconfig/ccache.kconfig
@@ -0,0 +1,49 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2011 Abdoulaye Walsimou GAYE.
+#
+# This program is free software; you can distribute it and/or modify it
+##
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file ccache.kconfig
+# \brief Here we install ccache to speed up
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date July 2011
+################################################################################
+
+config EMBTK_HAVE_CCACHE
+ bool
+ select EMBTK_CCACHE_PKG_IS_TARBZ2
+ default y
+ help
+ ccache is a compiler cache. It speeds up recompilation by
+ caching previous compilations and detecting when the same
+ compilation is being done again. Supported languages are C,
+ C++, Objective-C and Objective-C++.
+
+config EMBTK_CCACHE_VERSION_STRING
+ string
+ default "3.1.5"
+
+config EMBTK_CCACHE_NEED_PATCH
+ bool
+config EMBTK_CCACHE_NEED_AUTORECONF
+ bool
+config EMBTK_CCACHE_PKG_IS_TARGZ
+ bool
+config EMBTK_CCACHE_PKG_IS_TARBZ2
+ bool
diff --git a/kconfig/toolchain.kconfig b/kconfig/toolchain.kconfig
index 86f7259..ddf896b 100644
--- a/kconfig/toolchain.kconfig
+++ b/kconfig/toolchain.kconfig
@@ -79,6 +79,11 @@ source "kconfig/mpchost.kconfig"
endmenu
#
+# ccache
+#
+source kconfig/ccache.kconfig
+
+#
# Autotools
#
source kconfig/m4.kconfig