blob: 528b006101396d33531f04b31c5977ec8a22247f [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001INHIBIT_DEFAULT_DEPS = "1"
2
3FILES:${PN} = "${libexecdir} ${bindir}"
4
5BINNAME = "${@d.getVar("BPN").strip("gcc-")}"
6
7do_install() {
8 install -d ${D}${bindir} ${D}${libexecdir}/${BPN}/
9 cp -r ${S}/. ${D}${libexecdir}/${BPN}
10
11 # Symlink all executables into bindir
12 for f in ${D}${libexecdir}/${BPN}/bin/*; do
13 ln -rs $f ${D}${bindir}/$(basename $f)
14 done
15}
16
17INSANE_SKIP:${PN} = "already-stripped libdir staticdev file-rdeps arch dev-so"
18
19INHIBIT_SYSROOT_STRIP = "1"
20INHIBIT_PACKAGE_STRIP = "1"
21INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
22
23# Need to mark these as private until do_package's soname-finder only looks in $libdir
24PRIVATE_LIBS = "libgcc_s.so.1 libstdc++.so.6"
25
26BBCLASSEXTEND = "native nativesdk"