diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-canadian.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index ba001a9118..750a4f2113 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc @@ -10,9 +10,9 @@ GCCMULTILIB = "--enable-multilib" require gcc-configure-common.inc EXTRA_OECONF_PATHS = "\ - --with-gxx-include-dir=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${target_includedir}/c++/${BINV} \ + --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \ --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \ - --with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \ + --with-sysroot=/not/exist \ --with-build-sysroot=${STAGING_DIR_TARGET} \ " # We have to point gcc at a sysroot but we don't need to rebuild if this changes @@ -62,12 +62,10 @@ do_compile () { oe_runmake all-host configure-target-libgcc } -INHIBIT_PACKAGE_STRIP = "1" - # Having anything auto depending on gcc-cross-sdk is a really bad idea... EXCLUDE_FROM_SHLIBS = "1" -PACKAGES = "${PN} ${PN}-doc" +PACKAGES = "${PN}-dbg ${PN} ${PN}-doc" FILES_${PN} = "\ ${exec_prefix}/bin/* \ @@ -86,6 +84,11 @@ FILES_${PN} = "\ " INSANE_SKIP_${PN} += "dev-so" +FILES_${PN}-dbg += " \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/.debug \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/.debug \ +" + FILES_${PN}-doc = "\ ${infodir} \ ${mandir} \ |