Fix libtraceevent bug.

This commit is contained in:
fewtarius 2023-06-13 15:01:35 +00:00
parent d544ea498c
commit d8f88303ac
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -9,7 +9,7 @@ PKG_URL="https://git.kernel.org/pub/scm/libs/libtrace/${PKG_NAME}.git/snapshot/$
PKG_DEPENDS_HOST="ccache:host"
PKG_DEPENDS_TARGET="toolchain libtraceevent:host linux:host"
PKG_LONGDESC="Provides APIs to access kernel tracepoint events."
PKG_BUILD_FLAGS="+pic"
#PKG_BUILD_FLAGS="+pic"
makeinstall_host() {
mkdir -p ${TOOLCHAIN}/lib
@ -22,6 +22,10 @@ makeinstall_host() {
cp ${PKG_NAME}.pc ${TOOLCHAIN}/lib/pkgconfig
}
pre_make_target() {
make clean
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib
cp lib/${PKG_NAME}.a ${SYSROOT_PREFIX}/usr/lib