From 875cca2b6322046f65cf33992d9c11719bb246e6 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Wed, 9 Jul 2014 23:35:40 +0200 Subject: Host tools: move gmake to packages/htools/gmake Signed-off-by: Abdoulaye Walsimou Gaye --- packages/htools/gmake/gmake.kconfig | 39 +++++++++++++++++++++++++++++ packages/htools/gmake/gmake.mk | 33 ++++++++++++++++++++++++ packages/htools/hosttools-buildopts.kconfig | 2 +- packages/htools/hosttools-buildopts.mk | 3 +++ 4 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 packages/htools/gmake/gmake.kconfig create mode 100644 packages/htools/gmake/gmake.mk (limited to 'packages/htools') 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 . +# +################################################################################ +# +# \file gmake.kconfig +# \brief gmake.kconfig of Embtoolkit. +# \author Abdoulaye Walsimou GAYE +# \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 . +# +################################################################################ +# +# \file gmake.mk +# \brief gmake.mk of Embtoolkit. +# \author Abdoulaye Walsimou GAYE +# \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) -- cgit v1.2.3