trace-cmd: Build libs before building rest

There is a dependency on libs in trace-cmd binaries
so lets build libs first before building trace-cmd

Fixes errors like

trace-cmd/2.9.1-r0/git/tracecmd/trace-record.o: in function `make_instances':
| /usr/src/debug/trace-cmd/2.9.1-r0/tracecmd/trace-record.c:5037: undefined reference to `tracefs_instance_create'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2023-01-06 10:37:47 -08:00
parent e203500745
commit bbc75d46ec
@@ -19,7 +19,8 @@ inherit pkgconfig
TARGET_CC_ARCH += "${LDFLAGS}"
do_compile() {
oe_runmake libdir_relative=${BASELIB} all libs
oe_runmake libdir_relative=${BASELIB} libs
oe_runmake libdir_relative=${BASELIB} all
}
do_install() {