summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp
Commit message (Collapse)AuthorAgeFilesLines
* gmp: Upgrade to 6.2.0Khem Raj2020-02-225-29/+13
| | | | | | | | | | Drop amd64 patch, the bsfq has been replaced with bsfl for count_trailing_zeros Forward port rest of patches to 6.2.0 (From OE-Core rev: 35c052db4e081d363bcca350383adb0ac8c321d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: do the multilib_header magic for gmp.hChangqing Li2018-05-292-1/+5
| | | | | | | | | | Add multilib support feature for this recipe (From OE-Core rev: a2b4552b96c49dbdc9aef4b64820c3ff16dc5bb6) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: refresh patchesRoss Burton2018-03-093-23/+20
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 9adf817a638229d69d866fd6f8f48ee23caa6864) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: improve reproducibilityJuro Bystricky2017-08-171-2/+5
| | | | | | | | | | | | | | | Remove references to the host build system from generated/packaged header file gmp.h. The file ends up in two different packages (libgmp-dev, libgmp-dbg). Rather then modifying the file twice in two different destinations after the installation, we modify the file gmp.h only once, but before the installation. [YOCTO #11922] (From OE-Core rev: 693b42115e2f61abc9ca6096445dc494648cacb6) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Move out stale GPLv2 versions to a seperate layeruninative-1.5Richard Purdie2017-03-074-166/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are recipes where the upstream has moved to GPLv3 and these old versions are the last ones under the GPLv2 license. There are several reasons for making this move. There is a different quality of service with these recipes in that they don't get security fixes and upstream no longer care about them, in fact they're actively hostile against people using old versions. The recipes tend to need a different kind of maintenance to work with changes in the wider ecosystem and there needs to be isolation between changes made in the v3 versions and those in the v2 versions. There are probably better ways to handle a "non-GPLv3" system but right now having these in OE-Core makes them look like a first class citizen when I believe they have potential for a variety of undesireable issues. Moving them into a separate layer makes their different needs clearer, it also makes it clear how many of these there are. Some are probably not needed (e.g. mc), I also wonder whether some are useful (e.g. gmp) since most things that use them are GPLv3 only already. Someone could now more clearly see how to streamline the list of recipes here. I'm proposing we mmove to this separate layer for 2.3 with its future maintinership and testing to be determined in 2.4 and beyond. (From OE-Core rev: 19b7e950346fb1dde6505c45236eba6cd9b33b4b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Update to 6.1.2Khem Raj2017-02-235-3/+2
| | | | | | | | | | (From OE-Core rev: a341bc666c6d25741bbe879ccf0ade8da6ba4373) (From OE-Core rev: ba962c8cd4f39f72028662db4cb8505befe64206) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Disable assembly for MIPS R6Zubair Lutfullah Kakakhel2016-11-301-0/+1
| | | | | | | | | | | | gmplib has some assembly routines. These have not been optimized for MIPS R6 yet. Add --disable-assembly so that the C implementation is used. (From OE-Core rev: b0975809fe43b7506cc30a60245f5e32b275a3ec) Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Fix wrong detection of -march flagKhem Raj2016-08-172-0/+53
| | | | | | | | | | | | | | | | | | | | | | Configure detects -march flag based upon target triplet, it wrongly passes -march=armv4 for all arm, this is unearthed when compiling with clang since it errors out with flags like /tmp/kraj01/a-0c2038.s:27: Error: selected processor does not support `bx r0' in ARM mode since it does not pass --fix-v4bx along with -march=armv4, which does not happen with gcc toolchain since this flag is passed impicitly hence this error was indetected Fixed thusly (From OE-Core rev: 51caeccfc5b18b59deac5005e0059a414cbbed32) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: 6.1.0 -> 6.1.1Robert Yang2016-07-124-2/+2
| | | | | | | | (From OE-Core rev: 55fea8ead3ebef7e28a982a7721bc0ec42b5ca86) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: update patch metadataRoss Burton2016-07-081-1/+1
| | | | | | | | | Enforce the correct tag names across all of oe-core for consistency. (From OE-Core rev: 606a43dc38a00cc243f933722db657aea4129f8e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: don't compile in mips16e modeAndré Draszik2016-07-011-0/+4
| | | | | | | | | | | gmp contains hand-written assembly which is not compatible with the MIPS16e mode. (From OE-Core rev: 217729318b42ab378e1cc70db7726022a5837b49) Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp_4.2.1: fix build for MIPSAndre McCurdy2016-02-072-0/+58
| | | | | | | | | | | | | | | | | | The h asm constrain (to extract the high part of a multiplication result) has not been recognised since gcc 4.4: https://gcc.gnu.org/gcc-4.4/changes.html Drop the MIPS umul_ppmm() implementations which rely on "=h" and fall back to the older implementations (which use explicit mfhi and mflo instructions to move the high and low parts of the multiplication result into their destinations). (From OE-Core rev: f8b2eb5eb09a1314ef59e58df95e81c1c1ccf1f4) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5Andre McCurdy2016-02-071-1/+2
| | | | | | | | | | | | | | | The original over-ride dates back to 2008: http://git.openembedded.org/openembedded-core/commit/?id=b3dddcdde5d10f382f71413aad67f7ef2e2420a2 There are no obvious issues seen now when building either of the current gmp recipes (4.2.1 or 6.1.0) in thumb2 for Cortex A15. (From OE-Core rev: e2605d280b515a010c96db6254c24b483727051e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: move BBCLASSEXTEND = "native nativesdk" from gmp.inc into 6.1.0 recipeAndre McCurdy2016-02-072-2/+2
| | | | | | | | | | | | | | | It's unlikely that native builds of gmp 4.2.1 (ie the last LGPLv2 version) would ever be required (and given that recent versions of gcc require gmp >= 4.3.2, native builds of gmp 4.2.1 are unlikely to work very well). Restrict native and nativesdk builds to gmp 6.1.0 only. https://gcc.gnu.org/install/prerequisites.html (From OE-Core rev: 307fc5b8bb071cc51cbcbec26bbedbac695f716a) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: move SRC_URI out of gmp.inc + minor reformattingAndre McCurdy2016-02-073-12/+11
| | | | | | | | | | | | The base SRC_URI in gmp.inc was wrong for gmp 4.2.1 and was not being used by gmp 6.1.0. Remove it and make each recipe responsible for defining its own SRC_URI. (From OE-Core rev: c6ae5d4152e194f11bec7f760c98e9078860ab09) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: update to 6.1.0Alexander Kanavin2015-12-166-273/+31
| | | | | | | | | | | | | | Remove gmp-6.0.0-ppc64.patch, it was a backport Remove configure.patch, it fixed problems with very old versions of autotools, and testing showed it is no longer needed: http://git.openembedded.org/openembedded/commit/gmp/gmp-4.1.2/configure.patch?id=43dd0eeb7b7aaf482d3568a0d6a3b99bedbf1cf6 (From OE-Core rev: 8b21d3b32f8ac4cc4b3ebea1db2b13df0dec1c3b) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Use __gnu_inline__ attribute in 4.2.1Jussi Kukkonen2015-09-243-40/+37
| | | | | | | | | | | | | gcc 5 defaults to C11 rules about "extern inline": this breaks any code that includes gmp.h header from gmp 4.2.1 with 'multiple definition' errors. disable-stdc patch is no longer required because of this. (From OE-Core rev: e03d95d70f8bfe57c258d270ac6b3331650dbc10) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Bring back version 4.2.1 (LGPL 2.1+)Jussi Kukkonen2015-09-0110-25/+137
| | | | | | | | | | | | | | | | | | | gmp 4.2.1 was removed in f181c6ce8b apparently accidentally: It was not noticed that 4.2.1 is LGPL 2.1 (and not GPL) so provides a useful alternative to the newer "GPLv2 | LGPLv3" version. * Reintroduce 4.2.1. The source includes files that are GPL but the library package is LGPL 2.1+ * Also reintroduce the two patches removed in f181c6ce8b. * Refactor gmp.inc: gmp 6.0.0 build should not be affected in any way. * Update 6.0.0 license from "GPLv2 | LGPLv3" to "GPLv2+ | LGPLv3+". [YOCTO #8197] (From OE-Core rev: 1adec83621f36a3dd748990c307ca4ebebcdd554) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: remove referencing paths from the build hostJunling Zheng2015-04-191-0/+4
| | | | | | | | | | Currently ${D}${includedir}/gmp.h references the path of build host incorrectly, remove it. (From OE-Core rev: 97d56a5b8e4f15eb32095f242eb2fd62fc5d85f2) Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Change the SRC_URI to reflect upstream changed locationKhem Raj2015-01-291-2/+2
| | | | | | | | | | | | This avoid warnings during parse though it gets it from yocto mirrors builds dont fail. Change-Id: Idc33d14802862196a2094ef712781530b8a9b35b (From OE-Core rev: 70be13c9ce052c6a1bfb2978849ed5a2a7b5dd2d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: ppc64 build issueArmin Kuster2014-08-232-0/+27
| | | | | | | | | | | | | tmp-gcd_1.s: Assembler messages: | tmp-gcd_1.s:94: Error: unsupported relocation against BMOD_1_TO_MOD_1_THRESHOLD | make[2]: *** [gcd_1.lo] Error 1 V2: fixed PN name (From OE-Core rev: add84a15023d6c277340d6ab4810c605fab01e00) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: uprev it to 6.0.0Roy Li2014-08-158-382/+83
| | | | | | | | | | Uprev gmp from 5.1.1 to 6.0.0, and remove the 4.2.1 version which is GPLv2, since gmp-6.0.0 is dual-licensing, LGPLv3 or GPLv2; (From OE-Core rev: f181c6ce8b364fbf761a456d998ab78fbd751f35) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: use PACKAGECONFIG to address readline dependencyMing Liu2014-07-172-0/+6
| | | | | | | | | | To avoid automatically detecting readline dependency, which will lead to a implicit build result. (From OE-Core rev: b98da859423a541e419bbf38edacf2320ce00c8d) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser2014-05-022-2/+2
| | | | | | | | | | | | | The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: add configure.ac patch to append user provided compilation flagsLaurentiu Palcu2014-02-112-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | gmp configure script is pretty good at auto detecting the ABI and the tune flags that need to be passes to the compiler. However, the user provided flags (CFLAGS, CXXFLAGS, CPPFLAGS) take precedence and the ABI detection may fail, leading to configure errors like the one below: | configure: error: Oops, mp_limb_t is 32 bits, but the assembler code | in this configuration expects 64 bits. | You appear to have set $CFLAGS, perhaps you also need to tell GMP the | intended ABI, see "ABI and ISA" in the manual. One solution would be to change the recipe and add the ABI manually, or let gmp do the job. So, this patch will: * allow the configure process to auto-detect the ABI and tune flags properly; * append our flags to the detected ones; [YOCTO #5783] (From OE-Core rev: 8339b9ac16e7d3206de21a204beffaae5203adbb) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: set SUMMARY and DESCRIPTIONPaul Eggleton2014-01-022-1/+3
| | | | | | | | | | Use the same values for both versions (the GPLv2 version doesn't use the .inc file). (From OE-Core rev: 99c3f40299ddf97fd85eaea4d86176f2b4d4db92) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: updated to 5.1.1Bogdan Marinescu2013-05-127-117/+14
| | | | | | | | | | | A number of patches are now part of the upstream. Tested by compiling and running core-image-minimal/qemux86. (From OE-Core rev: e4bc2b287bdeb0abf7c198564575f719a98a6591) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: fix missing PR after update to 5.1.0aBogdan Marinescu2013-03-051-0/+2
| | | | | | | (From OE-Core rev: 8f2ae03dd950e119d9c06cecfa57d69edcf293be) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: updated to 5.1.0aBogdan Marinescu2013-03-052-5/+5
| | | | | | | | (From OE-Core rev: 46a29592a781b20472e6d749ee8754ebe29f5a80) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: replace obsolete automake macros with working onesMarko Lindqvist2013-01-152-0/+16
| | | | | | | | | | | | | | Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. (From OE-Core rev: 17a58db25657184e0770d29391062e7f93d5bb5b) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Conflicts: meta/recipes-support/gmp/gmp_5.1.0.bb Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: add patch from upstream to unbreak AArch64Marcin Juszkiewicz2013-01-102-0/+45
| | | | | | | | (From OE-Core rev: 561564d7baf2484365a03360ae27bb80ec4ab257) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: update to upstream version 5.1.0Marko Lindqvist2013-01-074-51/+212
| | | | | | | | | | | | | New version of configure.patch added for gmp-5.1.0. Old patch moved to gmp-4.2.1 specific directory. gmp_fix_for_automake-1.12.patch part of upstŕeam so removed gmp-5 version, gmp-4.2.1 version remains. (From OE-Core rev: ebd56f6a12c55982467b34b9c4feae03358738fe) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: update SRC_URI and HOMEPAGEMarko Lindqvist2013-01-071-2/+2
| | | | | | | | | | | Fetch from gmplib.org instead of gnu mirror. List gmplib.org as homepage instead of old broken URL. (From OE-Core rev: 64dbe42e45fb5b02c7b06bcf40ae93aa37704ce4) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: fix license segment md5sum boundaryMarko Lindqvist2012-12-031-1/+1
| | | | | | | | | | | | Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment. (From OE-Core rev: f9281283c993ab2af81f0316bac5fed7b49bdb83) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove redundant _FOR_BUILD variablesRoss Burton2012-11-122-4/+0
| | | | | | | (From OE-Core rev: acabd2158d9004dedfdfad8c170b77d32684f3fc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp-4.2.1: Set CC_FOR_BUILD to ensure the host system compiler is used, not ↵Richard Purdie2012-08-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the target one This addresses errors like: | NOTE: make -j 16 | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-fac_ui.c' || echo './'`gen-fac_ui.c -o gen-fac_ui | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-fib.c' || echo './'`gen-fib.c -o gen-fib | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-bases.c' || echo './'`gen-bases.c -o gen-bases -lm | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-psqr.c' || echo './'`gen-psqr.c -o gen-psqr -lm | ./gen-fac_ui 32 0 >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1) | ./gen-bases header 32 0 >mp_bases.h || (rm -f mp_bases.h; exit 1) | ./gen-bases table 32 0 >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1) | ./gen-fib header 32 0 >fib_table.h || (rm -f fib_table.h; exit 1) | ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory | ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory | ./gen-fib table 32 0 >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1) | make: *** [mp_bases.h] Error 1 and matches the fix for the other gmp version. [YOCTO #2992] (From OE-Core rev: 24d31cd30080401271936422e6bd77727a16e0a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: upgrade to 5.0.5Bogdan Marinescu2012-07-171-3/+2
| | | | | | | | (From OE-Core rev: 9c8000fdf696e234301a67d51dfeccc9bd1fcace) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Simplify "SRC_URI_append +=" to "SRC_URI_append ="Robert P. J. Day2012-06-211-1/+1
| | | | | | | (From OE-Core rev: 17084891c0aa9114805f022ea185108e834e4fcd) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp-4.2.1: fix build with automake 1.12Nitin A Kamble2012-05-252-2/+52
| | | | | | | (From OE-Core rev: f48e5acc0dd3a61c80feb22698e3a7bb5986146b) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: fix build with automake 1.12Nitin A Kamble2012-05-252-2/+52
| | | | | | | (From OE-Core rev: 902a528867292172bfb060a31767f7b5e39f40c1) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: upgrade from 5.0.3 to 5.0.4Nitin A Kamble2012-03-152-98/+3
| | | | | | | | | gmp_bugfix.patch : removed this patch as it is in upstream now (From OE-Core rev: 92c43229e202d0115ae68e3ab5c6eecde32ea822) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: upgrade from 5.0.2 to 5.0.3Nitin A Kamble2012-02-034-60/+45
| | | | | | | | | | rebased configure.patch & amd64.patchto the newer code. Removed sh4-asmfix.patch as it is not needed with the newer code. (From OE-Core rev: 7c33a18ed5cdca6765d04ad9e4387001f72993a4) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add Upstream-Status to patchesSaul Wold2012-01-031-1/+1
| | | | | | | (From OE-Core rev: 169e55d802883df763dbff4a4737e05e96358fa3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Don't check "$CC $CFLAGS" for x32 in gmp configureH.J. Lu2011-12-221-14/+10
| | | | | | | | | | | | | | | | | | | There is no need to check "$CC $CFLAGS" for x32 in gmp configure. The way GMP works is that it makes all the ABIs available for the user to pick from based on the target, but the final ABI is selected based on the $ABI variable or if compiler passes the ABI test. The test for x32 ABI is any_x32_testlist="sizeof-long-4" GMP will select x32 ABI only if long is 4byte, which will only be set to 4 by -mx32 passed in "$CC $CFLAGS". (From OE-Core rev: 20ffaee6103a972aaaf64a02dcab2bf342e9f4d4) Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Add gmp.h to SSTATE_SCAN_FILESSaul Wold2011-12-153-2/+4
| | | | | | | | | | This fixes problems where hardcoded paths in the file were incorrect during sstate reusage of the task output. (From OE-Core rev: ec5319fc48f9fa10d23dc98e40e7bad2a56777fc) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Add SRC_URI Checksums for GPLv2Saul Wold2011-12-131-0/+3
| | | | | | | (From OE-Core rev: 9597a66e797852a44bbcf29e722eb410fd3fd386) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: fix the recipe for x32 targetNitin A Kamble2011-12-053-2/+143
| | | | | | | | | | Add support for building with x32 toolchain. (From OE-Core rev: 971c2042351c039b1d51f67e8e78749d0374d729) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: also generate the libgmpcxx library & package it properlyNitin A Kamble2011-12-012-1/+6
| | | | | | | | | | | | | | configure runs few checks to make sure c++ compiler and runtime are working as expected with the --enable-cxx=detect option. And it enables building of libgmpxx library. Same as earlier the libgmp.so.10.x file is packaged in the libgmp10 package, and a new package named libgmpxx4 is added for libgmpxx.so.4.x file. (From OE-Core rev: ac59ea9d55c2fae870fb60dbba920fefe1f3487f) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp_5.0.2: Set CC_FOR_BUILD to BUILD_CCTom Zanussi2011-11-081-1/+2
| | | | | | | | | | | | | | | | CC_FOR_BUILD was compiling the test programs using the target's compile options and executing those on the host, causing errors such as: /bin/sh: line 1: 15032 Illegal instruction ./gen-bases table 64 0 > mpn/mp_bases.c /bin/sh: line 1: 15033 Illegal instruction ./gen-bases header 64 0 > mp_bases.h Export CC_FOR_BUILD using BUILD_CC to fix the problem. (From OE-Core rev: 68cca5ca15cbdd53748ec130fb6f20cbb3fb5072) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: upgrade from 5.0.1 to 5.0.2Nitin A Kamble2011-07-081-2/+2
| | | | | | | (From OE-Core rev: e9e53ed8fe8c59fa7f27f2d49a9debea8f66be02) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>