summaryrefslogtreecommitdiff
path: root/packages/htools
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-07-09 23:35:40 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-07-09 23:35:40 +0200
commit875cca2b6322046f65cf33992d9c11719bb246e6 (patch)
tree50ca0a6a01d99dcecf7c5fe6377c365148d4f352 /packages/htools
parentcf45ce257cf67a282fd7b46614b49994af6f4957 (diff)
downloadembtoolkit-875cca2b6322046f65cf33992d9c11719bb246e6.tar.gz
embtoolkit-875cca2b6322046f65cf33992d9c11719bb246e6.tar.bz2
embtoolkit-875cca2b6322046f65cf33992d9c11719bb246e6.tar.xz
Host tools: move gmake to packages/htools/gmake
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages/htools')
-rw-r--r--packages/htools/gmake/gmake.kconfig39
-rw-r--r--packages/htools/gmake/gmake.mk33
-rw-r--r--packages/htools/hosttools-buildopts.kconfig2
-rw-r--r--packages/htools/hosttools-buildopts.mk3
4 files changed, 76 insertions, 1 deletions
diff --git a/packages/htools/gmake/gmake.kconfig b/packages/htools/gmake/gmake.kconfig
new file mode 100644
index 0000000..2215a14
--- /dev/null
+++ b/packages/htools/gmake/gmake.kconfig
@@ -0,0 +1,39 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2013-2014 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 gmake.kconfig
+# \brief gmake.kconfig of Embtoolkit.
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date March 2013
+################################################################################
+
+config EMBTK_HOST_HAVE_GMAKE
+ bool
+ default y if EMBTK_HOST_OSTYPE=bsd
+ help
+ GNU make.
+
+config EMBTK_GMAKE_HOST_VERSION_STRING
+ string
+ default "3.81"
+
+config EMBTK_GMAKE_HOST_NEED_PATCH
+ bool
+config EMBTK_GMAKE_HOST_NEED_AUTORECONF
+ bool
diff --git a/packages/htools/gmake/gmake.mk b/packages/htools/gmake/gmake.mk
new file mode 100644
index 0000000..eac2315
--- /dev/null
+++ b/packages/htools/gmake/gmake.mk
@@ -0,0 +1,33 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2013-2014 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 gmake.mk
+# \brief gmake.mk of Embtoolkit.
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date March 2013
+################################################################################
+
+GMAKE_HOST_NAME := gmake
+GMAKE_HOST_VERSION := $(call embtk_get_pkgversion,gmake_host)
+GMAKE_HOST_SITE := http://ftp.gnu.org/gnu/make
+GMAKE_HOST_PACKAGE := make-$(GMAKE_HOST_VERSION).tar.bz2
+GMAKE_HOST_SRC_DIR := $(embtk_toolsb)/make-$(GMAKE_HOST_VERSION)
+GMAKE_HOST_BUILD_DIR := $(embtk_toolsb)/make-$(GMAKE_HOST_VERSION)
+
+GMAKE_HOST_CONFIGURE_OPTS := --program-transform-name='s;make;gmake;'
diff --git a/packages/htools/hosttools-buildopts.kconfig b/packages/htools/hosttools-buildopts.kconfig
index d0e9f9f..12a0d59 100644
--- a/packages/htools/hosttools-buildopts.kconfig
+++ b/packages/htools/hosttools-buildopts.kconfig
@@ -120,7 +120,7 @@ source core/kconfig/bmake.kconfig
#
# GNU make
#
-source core/kconfig/gmake.kconfig
+source packages/htools/gmake/gmake.kconfig
#
# mtd-utils
diff --git a/packages/htools/hosttools-buildopts.mk b/packages/htools/hosttools-buildopts.mk
index 445d68d..d82e7ed 100644
--- a/packages/htools/hosttools-buildopts.mk
+++ b/packages/htools/hosttools-buildopts.mk
@@ -38,6 +38,9 @@ $(call embtk_include_hostpkg,ccache_host)
include packages/htools/fakeroot/vars.mk
$(call embtk_include_hostpkg,fakeroot_host)
+# gmake
+$(call embtk_include_hostpkg,gmake_host)
+
# gsed
$(call embtk_include_hostpkg,gsed_host)