ltp: fix rpc build error
PATCH 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]>
--- meta/recipes-extended/ltp/ltp_20200930.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/ltp/ltp_20200930.bb +3 -3
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "\ file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ " -DEPENDS = "attr libaio libcap acl openssl zip-native" +DEPENDS = "attr libaio libcap acl openssl zip-native libtirpc" DEPENDS_append_libc-musl = " fts " EXTRA_OEMAKE_append_libc-musl = " LIBC=musl " EXTRA_OECONF_append_libc-musl = " LIBS=-lfts "
@@ -44,12 +44,12 @@ TARGET_CC_ARCH += "${LDFLAGS}" export prefix = "/opt/${PN}" export exec_prefix = "/opt/${PN}" +export libdir = "/usr/lib" +export incdir = "/usr/include" PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl," 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
please send it to oe-core mailing list since its oe-core recipe.
Quoted 43 lines · Kory Maincent
Add support to tirpc tests build.
Export incdir and libdir to have the right path.Signed-off-by Kory Maincent <[email protected]>--- meta/recipes-extended/ltp/ltp_20200930.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta/recipes-extended/ltp/ltp_20200930.bb +3
-4@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "\ file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ " -DEPENDS = "attr libaio libcap acl openssl zip-native" +DEPENDS = "attr libaio libcap acl openssl zip-native libtirpc" DEPENDS_append_libc-musl = " fts " EXTRA_OEMAKE_append_libc-musl = " LIBC=musl " EXTRA_OECONF_append_libc-musl = " LIBS=-lfts "@@ -44,12 +44,12 @@ TARGET_CC_ARCH += "${LDFLAGS}" export prefix = "/opt/${PN}" export exec_prefix = "/opt/${PN}" +export libdir = "/usr/lib" +export incdir = "/usr/include" PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl," 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}/ --2.17.1
Hello Khem,
Quoted 1 line · On Wed, 16 Dec 2020 09:51:40 -0800 Khem Raj <[email protected]> wrote:
please send it to oe-core mailing list since its oe-core recipe.*
Oops sorry for my mistake.
Köry,