diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-01-30 22:53:45 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-01-30 22:53:45 +0100 |
commit | ed1ed9bf360c8dbca99e549ba29c48f5e63f3ee9 (patch) | |
tree | 4baaa762336d95505a505b1640320c448f4a7900 /kconfig | |
parent | 64242f6f2b4b80b8756e2dffc8ad302b7bcaf5ae (diff) | |
download | embtoolkit-ed1ed9bf360c8dbca99e549ba29c48f5e63f3ee9.tar.gz embtoolkit-ed1ed9bf360c8dbca99e549ba29c48f5e63f3ee9.tar.bz2 embtoolkit-ed1ed9bf360c8dbca99e549ba29c48f5e63f3ee9.tar.xz |
Toolchain: eglibc: build gperf for when eglibc EGLIBC_LOCALE_CODE is selected
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'kconfig')
-rw-r--r-- | kconfig/gperf_host.kconfig | 44 | ||||
-rw-r--r-- | kconfig/hosttools-buildopts.kconfig | 4 | ||||
-rw-r--r-- | kconfig/toolchain.kconfig | 16 |
3 files changed, 63 insertions, 1 deletions
diff --git a/kconfig/gperf_host.kconfig b/kconfig/gperf_host.kconfig new file mode 100644 index 0000000..89088d4 --- /dev/null +++ b/kconfig/gperf_host.kconfig @@ -0,0 +1,44 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2011-2012 Abdoulaye Walsimou GAYE. +# +# 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 gperf_host.kconfig +# \brief gperf_host.kconfig of Embtoolkit +# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org> +# \date June 2011 +################################################################################ + +config EMBTK_HOST_HAVE_GPERF + bool + help + This is GNU gperf. It is a program that generates perfect hash + functions for sets of key words. + A perfect hash function is: + A hash function and a data structure that allows + recognition of a key word in a set of words using + exactly 1 probe into the data structure. + +if EMBTK_HOST_HAVE_GPERF +config EMBTK_GPERF_HOST_VERSION_STRING + string + default "3.0.4" +config EMBTK_GPERF_HOST_NEED_PATCH + bool +config EMBTK_GPERF_HOST_NEED_AUTORECONF + bool +endif diff --git a/kconfig/hosttools-buildopts.kconfig b/kconfig/hosttools-buildopts.kconfig index bb2c918..7314132 100644 --- a/kconfig/hosttools-buildopts.kconfig +++ b/kconfig/hosttools-buildopts.kconfig @@ -36,8 +36,10 @@ config EMBTK_HAVE_MKIMAGE help u-boot mkimage tool. +# zlib for host source kconfig/zlib_host.kconfig - +# gperf for host +source kconfig/gperf_host.kconfig comment "-----------------------------" comment "Build options" diff --git a/kconfig/toolchain.kconfig b/kconfig/toolchain.kconfig index de62709..625ce9b 100644 --- a/kconfig/toolchain.kconfig +++ b/kconfig/toolchain.kconfig @@ -101,3 +101,19 @@ source kconfig/pkgconfig.kconfig # fakeroot # source kconfig/fakeroot.kconfig + +# +# gperf for host +# +source kconfig/gperf_host.kconfig + +# +# Select of optional features +# +config EMBTK_TOOLCHAIN_PREDEP_GPERF_HOST + bool + default y if KEMBTK_EGLIBC_OPTION_EGLIBC_LOCALE_CODE + select EMBTK_HOST_HAVE_GPERF + help + select gperf for host if needed to build the toolchain. + |