diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 64b6168ba7..dbc9141000 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -85,6 +85,8 @@ do_install () { | |||
85 | cd ${B}/${TARGET_SYS}/$d/ | 85 | cd ${B}/${TARGET_SYS}/$d/ |
86 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/${TARGET_SYS}/$d/ install | 86 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/${TARGET_SYS}/$d/ install |
87 | done | 87 | done |
88 | install -d ${D}${datadir}/gdb/auto-load/${libdir} | ||
89 | mv ${D}${libdir}/libstdc++*-gdb.py ${D}${datadir}/gdb/auto-load/${libdir} | ||
88 | if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include ]; then | 90 | if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include ]; then |
89 | install -d ${D}${libdir}/${TARGET_SYS}/${BINV}/include | 91 | install -d ${D}${libdir}/${TARGET_SYS}/${BINV}/include |
90 | mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include | 92 | mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include |
@@ -99,6 +101,9 @@ do_install () { | |||
99 | if [ -d ${D}${infodir} ]; then | 101 | if [ -d ${D}${infodir} ]; then |
100 | rmdir --ignore-fail-on-non-empty -p ${D}${infodir} | 102 | rmdir --ignore-fail-on-non-empty -p ${D}${infodir} |
101 | fi | 103 | fi |
104 | if [ -d ${D}${libdir} ]; then | ||
105 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir} | ||
106 | fi | ||
102 | } | 107 | } |
103 | 108 | ||
104 | do_install:append:class-target () { | 109 | do_install:append:class-target () { |
@@ -182,9 +187,14 @@ RRECOMMENDS:${PN}-dbg = "" | |||
182 | 187 | ||
183 | # include python debugging scripts | 188 | # include python debugging scripts |
184 | FILES:${PN}-dbg += "\ | 189 | FILES:${PN}-dbg += "\ |
185 | ${libdir}/libstdc++.*-gdb.py \ | ||
186 | ${datadir}/gcc-${BINV}/python/libstdcxx \ | 190 | ${datadir}/gcc-${BINV}/python/libstdcxx \ |
191 | ${datadir}/gdb/auto-load \ | ||
187 | " | 192 | " |
193 | # Needed by libstdcxx pretty printer, however it is disabled intentionally | ||
194 | # as it adds build time dependency on bash and some cases e.g. no GPL3 cases | ||
195 | # bash is not availbale and builds fails | ||
196 | # So it needs to be added manually to images sadly. | ||
197 | # RDEPENDS:${PN}-dbg += "python3-datetime" | ||
188 | 198 | ||
189 | FILES:libg2c = "${target_libdir}/libg2c.so.*" | 199 | FILES:libg2c = "${target_libdir}/libg2c.so.*" |
190 | SUMMARY:libg2c = "Companion runtime library for g77" | 200 | SUMMARY:libg2c = "Companion runtime library for g77" |