summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-30 20:03:19 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-30 20:03:19 +0100
commit72ffe24b9a38d725778952213a540fba84320a41 (patch)
treecb1028d8e5feca8caeb9c759502b51faf56603d1
parent65efe378a78c154ca65fbe7e1938f13966c7f714 (diff)
downloadembtoolkit-72ffe24b9a38d725778952213a540fba84320a41.tar.gz
embtoolkit-72ffe24b9a38d725778952213a540fba84320a41.tar.bz2
embtoolkit-72ffe24b9a38d725778952213a540fba84320a41.tar.xz
Host tools: add GNU sed-4.2.1
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--kconfig/gsed.kconfig39
-rw-r--r--kconfig/toolchain.kconfig3
-rw-r--r--mk/gsed.mk35
-rw-r--r--mk/toolchain.mk3
4 files changed, 80 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file gsed.kconfig
+# \brief gsed.kconfig of Embtoolkit.
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \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 <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file gsed.mk
+# \brief gsed.mk of Embtoolkit.
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \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)