ltp: fix rpc build error
PATCH v3 1/1 ltp: fix rpc build error
Add support to tirpc tests build.
Export incdir and libdir to have the right path.
Signed-off-by Kory Maincent <[email protected]>
---
Change since v1:
- Use PACKAGECONFIG to enable rpc tests
- Improve ${libdir} and ${incdir} export
Change since v2:
- Improve ${libdir} and ${incdir} export
meta/recipes-extended/ltp/ltp_20200930.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/ltp/ltp_20200930.bb +3 -3
@@ -42,14 +42,14 @@ inherit autotools-brokensep pkgconfig TARGET_CC_ARCH += "${LDFLAGS}" +export libdir := "${libdir}" +export incdir := "${incdir}" export prefix = "/opt/${PN}" -export exec_prefix = "/opt/${PN}" PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl," +PACKAGECONFIG[rpc] = "--with-tirpc, --without-tirpc, virtual/librpc," EXTRA_AUTORECONF += "-I ${S}/testcases/realtime/m4" EXTRA_OECONF = " --with-realtime-testsuite --with-open-posix-testsuite " -# ltp network/rpc test cases ftbfs when libtirpc is found -EXTRA_OECONF += " --without-tirpc " do_install(){ install -d ${D}${prefix}/
Signature · 1 line
2.17.1