From 72ffe24b9a38d725778952213a540fba84320a41 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 30 Mar 2013 20:03:19 +0100 Subject: Host tools: add GNU sed-4.2.1 Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/gsed.kconfig | 39 +++++++++++++++++++++++++++++++++++++++ kconfig/toolchain.kconfig | 3 +++ mk/gsed.mk | 35 +++++++++++++++++++++++++++++++++++ mk/toolchain.mk | 3 +++ 4 files changed, 80 insertions(+) create mode 100644 kconfig/gsed.kconfig create mode 100644 mk/gsed.mk diff --git a/kconfig/gsed.kconfig b/kconfig/gsed.kconfig new file mode 100644 index 0000000..ff1424e --- /dev/null +++ b/kconfig/gsed.kconfig @@ -0,0 +1,39 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2013 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 . +# +################################################################################ +# +# \file gsed.kconfig +# \brief gsed.kconfig of Embtoolkit. +# \author Abdoulaye Walsimou GAYE +# \date March 2013 +################################################################################ + +config EMBTK_HAVE_GSED + bool + default y + help + gnu sed. + +config EMBTK_GSED_VERSION_STRING + string + default "4.2.1" + +config EMBTK_GSED_NEED_PATCH + bool +config EMBTK_GSED_NEED_AUTORECONF + bool diff --git a/kconfig/toolchain.kconfig b/kconfig/toolchain.kconfig index d70882f..9bc282c 100644 --- a/kconfig/toolchain.kconfig +++ b/kconfig/toolchain.kconfig @@ -167,6 +167,9 @@ source kconfig/libtool.kconfig source kconfig/autoconf.kconfig source kconfig/automake.kconfig +# GNU sed +source kconfig/gsed.kconfig + # # pkgconf # diff --git a/mk/gsed.mk b/mk/gsed.mk new file mode 100644 index 0000000..d028c9a --- /dev/null +++ b/mk/gsed.mk @@ -0,0 +1,35 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2013 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 . +# +################################################################################ +# +# \file gsed.mk +# \brief gsed.mk of Embtoolkit. +# \author Abdoulaye Walsimou GAYE +# \date March 2013 +################################################################################ + +GSED_NAME := gsed +GSED_VERSION := $(call embtk_get_pkgversion,gsed) +GSED_SITE := http://ftp.gnu.org/gnu/sed +GSED_PACKAGE := sed-$(GSED_VERSION).tar.bz2 +GSED_SRC_DIR := $(embtk_toolsb)/sed-$(GSED_VERSION) +GSED_BUILD_DIR := $(embtk_toolsb)/sed-$(GSED_VERSION) + +define embtk_install_gsed + $(call __embtk_install_hostpkg,gsed) +endef diff --git a/mk/toolchain.mk b/mk/toolchain.mk index b9cf6c9..b36c4b8 100644 --- a/mk/toolchain.mk +++ b/mk/toolchain.mk @@ -142,6 +142,9 @@ include mk/m4.mk AUTOTOOLS_INSTALL := m4_install libtool_install autoconf_install AUTOTOOLS_INSTALL += automake_install +# GNU sed +include mk/gsed.mk + # Toolchain internals __xtools_compiler-$(CONFIG_EMBTK_LLVM_ONLY_TOOLCHAIN) := clangllvm-$(LLVM_VERSION) __xtools_compiler-$(CONFIG_EMBTK_LLVM_DEFAULT_TOOLCHAIN) := clangllvm-$(LLVM_VERSION) -- cgit v1.2.3