summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/gmp/gmp_6.3.0.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-support/gmp/gmp_6.3.0.bb b/meta/recipes-support/gmp/gmp_6.3.0.bb
index 3dbcd68b5c..fd4aec92fd 100644
--- a/meta/recipes-support/gmp/gmp_6.3.0.bb
+++ b/meta/recipes-support/gmp/gmp_6.3.0.bb
@@ -29,13 +29,21 @@ do_install:append() {
29 oe_multilib_header gmp.h 29 oe_multilib_header gmp.h
30} 30}
31 31
32do_install:prepend:class-target() { 32fix_absolute_paths () {
33 sed -i \ 33 sed -i \
34 -e "s|--sysroot=${STAGING_DIR_HOST}||g" \ 34 -e "s|--sysroot=${STAGING_DIR_HOST}||g" \
35 -e "s|${DEBUG_PREFIX_MAP}||g" \ 35 -e "s|${DEBUG_PREFIX_MAP}||g" \
36 ${B}/gmp.h 36 ${B}/gmp.h
37} 37}
38 38
39do_install:prepend:class-target() {
40 fix_absolute_paths
41}
42
43do_install:prepend:class-nativesdk() {
44 fix_absolute_paths
45}
46
39SSTATE_SCAN_FILES += "gmp.h" 47SSTATE_SCAN_FILES += "gmp.h"
40 48
41# Doesn't compile in MIPS16e mode due to use of hand-written 49# Doesn't compile in MIPS16e mode due to use of hand-written