mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
external-csl-toolchain: fix mtd-user.h issue
The use of __packed, which isn't defined in userspace, caused busybox build failures. (From OE-Core rev: 9c44bb6434a1d2347ebbb38bde9671688b0ae447) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8d41b0ddbf
commit
d90565366c
@@ -66,6 +66,7 @@ do_install() {
|
||||
fi
|
||||
ln -s ../../bin/gdbserver ${D}${libdir}/bin/sysroot-gdbserver
|
||||
|
||||
sed -i -e 's/__packed/__attribute__ ((packed))/' ${D}${includedir}/mtd/ubi-user.h
|
||||
sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so
|
||||
sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user