|
@@ -12,8 +12,8 @@ LICENSE = "GPL-3.0-with-GCC-exception"
|
|
|
# libgcc needs libc, but glibc's utilities need libgcc, so short-circuit the
|
|
|
# interdependency here by manually specifying it rather than depending on the
|
|
|
# libc packagedata.
|
|
|
-RDEPENDS_${PN} += "${TCLIBC}"
|
|
|
-INSANE_SKIP_${PN} += "build-deps"
|
|
|
+RDEPENDS_${PN} += "${@'${PREFERRED_PROVIDER_virtual/libc}' if '${PREFERRED_PROVIDER_virtual/libc}' else '${TCLIBC}'}"
|
|
|
+INSANE_SKIP_${PN} += "build-deps file-rdeps"
|
|
|
|
|
|
external_libroot = "${@os.path.realpath('${EXTERNAL_TOOLCHAIN_LIBROOT}').replace(os.path.realpath('${EXTERNAL_TOOLCHAIN}') + '/', '/')}"
|
|
|
FILES_MIRRORS =. "${libdir}/gcc/${TARGET_SYS}/${GCC_VERSION}/|${external_libroot}/\n"
|