mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
libgcc: Fix standalone target builds with usrmerge distro feature
Ignore the rmdir cmd if using usrmerge distro feature since the intention is to delete /lib or /lib64 but not libdir under /usr and base_libdir = libdir when usrmerge is enabled in distro (From OE-Core rev: 3b7f6b0e0f1f16f89cd924aac001b4f661c145ca) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -45,10 +45,14 @@ do_install () {
|
||||
}
|
||||
|
||||
do_install:append:libc-baremetal () {
|
||||
rmdir ${D}${base_libdir}
|
||||
if [ "${base_libdir}" != "${libdir}" ]; then
|
||||
rmdir ${D}${base_libdir}
|
||||
fi
|
||||
}
|
||||
do_install:append:libc-newlib () {
|
||||
rmdir ${D}${base_libdir}
|
||||
if [ "${base_libdir}" != "${libdir}" ]; then
|
||||
rmdir ${D}${base_libdir}
|
||||
fi
|
||||
}
|
||||
|
||||
# No rpm package is actually created but -dev depends on it, avoid dnf error
|
||||
|
||||
Reference in New Issue
Block a user