From ec5319fc48f9fa10d23dc98e40e7bad2a56777fc Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 14 Dec 2011 16:05:38 -0800 Subject: gmp: Add gmp.h to SSTATE_SCAN_FILES This fixes problems where hardcoded paths in the file were incorrect during sstate reusage of the task output. Signed-off-by: Saul Wold --- meta/recipes-support/gmp/gmp.inc | 2 ++ meta/recipes-support/gmp/gmp_4.2.1.bb | 2 +- meta/recipes-support/gmp/gmp_5.0.2.bb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index 5ba118dabb..789d6d07ff 100644 --- a/meta/recipes-support/gmp/gmp.inc +++ b/meta/recipes-support/gmp/gmp.inc @@ -19,3 +19,5 @@ EXTRA_OECONF += " --enable-cxx=detect" PACKAGES =+ "libgmpxx" FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" + +SSTATE_SCAN_FILES += "gmp.h" diff --git a/meta/recipes-support/gmp/gmp_4.2.1.bb b/meta/recipes-support/gmp/gmp_4.2.1.bb index 5f3929fb44..280b1ab14f 100644 --- a/meta/recipes-support/gmp/gmp_4.2.1.bb +++ b/meta/recipes-support/gmp/gmp_4.2.1.bb @@ -6,7 +6,7 @@ LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \ file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ file://gmp-h.in;startline=6;endline=21;md5=5e25ffd16996faba8c1cd27b04b16099" -PR = "r0" +PR = "r1" SRC_URI = "${GNU_MIRROR}/gmp/${BP}.tar.bz2 \ file://disable-stdc.patch" diff --git a/meta/recipes-support/gmp/gmp_5.0.2.bb b/meta/recipes-support/gmp/gmp_5.0.2.bb index c28e745dc9..d39e500654 100644 --- a/meta/recipes-support/gmp/gmp_5.0.2.bb +++ b/meta/recipes-support/gmp/gmp_5.0.2.bb @@ -2,7 +2,7 @@ require gmp.inc LICENSE="LGPLv3&GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790" -PR = "r3" +PR = "r4" SRC_URI_append += "file://sh4-asmfix.patch \ file://gmp_bugfix.patch \ -- cgit v1.2.3