diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-03-18 23:45:27 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-03-18 23:45:27 +0100 |
commit | ef94bcb8905c8c8fefc272dbcb2d5ee0c4efbe35 (patch) | |
tree | e8e85268168e09221e23cdbb4639e47109988d04 /core/mk/gmp.mk | |
parent | fb516edcaeaa02e435316622b2bcc5314b42d529 (diff) | |
download | embtoolkit-ef94bcb8905c8c8fefc272dbcb2d5ee0c4efbe35.tar.gz embtoolkit-ef94bcb8905c8c8fefc272dbcb2d5ee0c4efbe35.tar.bz2 embtoolkit-ef94bcb8905c8c8fefc272dbcb2d5ee0c4efbe35.tar.xz |
Move mk/ to core/
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core/mk/gmp.mk')
-rw-r--r-- | core/mk/gmp.mk | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/core/mk/gmp.mk b/core/mk/gmp.mk new file mode 100644 index 0000000..aa48721 --- /dev/null +++ b/core/mk/gmp.mk @@ -0,0 +1,41 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2009-2011 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 gmp.mk +# \brief gmp.mk of Embtoolkit for toolchain +# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org> +# \date May 2009 +################################################################################ + +GMP_HOST_NAME := gmp +GMP_HOST_VERSION := $(call embtk_get_pkgversion,gmp_host) +GMP_HOST_SITE := ftp://ftp.gmplib.org/pub/gmp-$(GMP_HOST_VERSION) +GMP_HOST_PACKAGE := gmp-$(GMP_HOST_VERSION).tar.bz2 +GMP_HOST_SRC_DIR := $(embtk_toolsb)/gmp-$(GMP_HOST_VERSION) +GMP_HOST_BUILD_DIR := $(embtk_toolsb)/gmp-build +GMP_HOST_DIR := $(embtk_htools)/usr/local/gmp-host + +export GMP_HOST_DIR + +GMP_HOST_CONFIGURE_OPTS := --disable-shared --enable-static +GMP_HOST_PREFIX := $(GMP_HOST_DIR) + +define embtk_cleanup_gmp_host + rm -rf $(GMP_HOST_BUILD_DIR) +endef |