diff options
| author | Junling Zheng <zhengjunling@huawei.com> | 2015-04-17 08:50:08 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-19 13:34:44 +0100 |
| commit | 4c31f35d791b58d0aa95101cca2efd5cedb9a84f (patch) | |
| tree | 2fecb8c136889a39e2062b593c6659c8bbbe7b83 | |
| parent | ccb2feb6fdd992fb4cc36070eacb428d392f3b24 (diff) | |
| download | poky-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>
| -rw-r--r-- | meta/recipes-support/gmp/gmp.inc | 4 |
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" | |||
| 26 | PACKAGES =+ "libgmpxx" | 26 | PACKAGES =+ "libgmpxx" |
| 27 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | 27 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" |
| 28 | 28 | ||
| 29 | do_install_append_class-target() { | ||
| 30 | sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h | ||
| 31 | } | ||
| 32 | |||
| 29 | SSTATE_SCAN_FILES += "gmp.h" | 33 | SSTATE_SCAN_FILES += "gmp.h" |
