Fix libtraceevent bug.
This commit is contained in:
parent
d544ea498c
commit
d8f88303ac
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue