Files
meta-external-toolchain/recipes-external/gcc/libgfortran-external.bb
Christopher Larson a81f04f908 Convert to new overrides syntax for honister
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-01 16:38:22 +00:00

29 lines
1.1 KiB
BlitzBasic

SUMMARY = "The GNU Compiler Collection - libgfortran"
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
PV = "${GCC_VERSION}"
inherit external-toolchain
LICENSE = "GPL-3.0-with-GCC-exception"
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"
EXTERNAL_PROVIDE_PATTERN = "${FILES_${PN}}"
# We don't copy the static binaries and headers, since they don't belong to the
# target sysroot, but need to be in the native one (that's the place where compiler
# and linker are looking for them).
FILES:${PN} = "${libdir}/libgfortran.so.*"
FILES:${PN}-dev = "\
${libdir}/libgfortran*.so \
${libdir}/libgfortran.spec \
${libdir}/libgfortran.la \
"
FILES:${PN}-staticdev = "${libdir}/libgfortran.a"
do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata"