summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gmp/gmp.inc')
-rw-r--r--meta/recipes-support/gmp/gmp.inc29
1 files changed, 4 insertions, 25 deletions
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
index 65cde21a7d..948b89288e 100644
--- a/meta/recipes-support/gmp/gmp.inc
+++ b/meta/recipes-support/gmp/gmp.inc
@@ -1,33 +1,12 @@
-SECTION = "devel"
SUMMARY = "GNU multiprecision arithmetic library"
DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers"
HOMEPAGE = "http://gmplib.org/"
-LICENSE = "GPLv3 LGPLv3"
-
-REVISION ?= ""
-
-SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \
- file://configure.patch \
- file://amd64.patch "
-
-inherit autotools texinfo
-
-ARM_INSTRUCTION_SET = "arm"
-
-acpaths = ""
+SECTION = "devel"
-BBCLASSEXTEND = "native nativesdk"
+inherit autotools texinfo multilib_header
PACKAGECONFIG ??= ""
PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline"
-EXTRA_OECONF += " --enable-cxx=detect"
-
-PACKAGES =+ "libgmpxx"
-FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
-
-do_install_append_class-target() {
- sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h
-}
-
-SSTATE_SCAN_FILES += "gmp.h"
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"