mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-16 15:57:19 +00:00
a92e076973
$datadir is for architecture-independent files, and a compiler is not that. Install to $libexecdir, and clean up the installation commands whilst there. Signed-off-by: Ross Burton <ross.burton@arm.com> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
24 lines
584 B
PHP
24 lines
584 B
PHP
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
FILES:${PN} = "${libexecdir} ${bindir}"
|
|
|
|
BINNAME = "${@d.getVar("BPN").strip("gcc-")}"
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir} ${D}${libexecdir}/${BPN}/
|
|
cp -r ${S}/. ${D}${libexecdir}/${BPN}
|
|
|
|
# Symlink all executables into bindir
|
|
for f in ${D}${libexecdir}/${BPN}/bin/*; do
|
|
ln -rs $f ${D}${bindir}/$(basename $f)
|
|
done
|
|
}
|
|
|
|
INSANE_SKIP:${PN} = "already-stripped libdir staticdev file-rdeps arch dev-so"
|
|
|
|
INHIBIT_SYSROOT_STRIP = "1"
|
|
INHIBIT_PACKAGE_STRIP = "1"
|
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|