summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp.inc
diff options
context:
space:
mode:
authorJunling Zheng <zhengjunling@huawei.com>2015-04-17 08:50:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-19 13:34:44 +0100
commit4c31f35d791b58d0aa95101cca2efd5cedb9a84f (patch)
tree2fecb8c136889a39e2062b593c6659c8bbbe7b83 /meta/recipes-support/gmp/gmp.inc
parentccb2feb6fdd992fb4cc36070eacb428d392f3b24 (diff)
downloadpoky-4c31f35d791b58d0aa95101cca2efd5cedb9a84f.tar.gz
gmp: remove referencing paths from the build host
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>
Diffstat (limited to 'meta/recipes-support/gmp/gmp.inc')
-rw-r--r--meta/recipes-support/gmp/gmp.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
index 558ee06799..65cde21a7d 100644
--- a/meta/recipes-support/gmp/gmp.inc
+++ b/meta/recipes-support/gmp/gmp.inc
@@ -26,4 +26,8 @@ EXTRA_OECONF += " --enable-cxx=detect"
26PACKAGES =+ "libgmpxx" 26PACKAGES =+ "libgmpxx"
27FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" 27FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
28 28
29do_install_append_class-target() {
30 sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h
31}
32
29SSTATE_SCAN_FILES += "gmp.h" 33SSTATE_SCAN_FILES += "gmp.h"