@@ -535,7 +535,7 @@ HOSTTOOLS += " \
fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \
head hostname iconv id install ld ldd ln ls make md5sum mkdir mkfifo mknod \
mktemp mv nm objcopy objdump od patch perl pr printf pwd \
- python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \
+ python3 pzstd ranlib readelf readlink realpath rm rmdir sed seq sh \
sha1sum sha224sum sha256sum sha384sum sha512sum \
sleep sort split stat strings strip tail tar tee test timeout touch tr true truncate uname \
uniq unzstd wc wget which xargs zstd xz \
@@ -8,7 +8,7 @@ LICENSE = "BSD-3-Clause AND GPL-2.0-or-later AND MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84"
# util-linux for libblkid
-DEPENDS = "libcap libevent util-linux sqlite3 libtirpc libxml2 libnl"
+DEPENDS = "libcap libevent util-linux sqlite3 libtirpc libxml2 libnl rpcsvc-proto-native"
RDEPENDS:${PN} = "netbase ${PN}-client"
RRECOMMENDS:${PN} = "kernel-module-nfsd"
@@ -49,7 +49,7 @@ EXTRA_OECONF = "--with-statduser=rpcuser \
--enable-uuid \
--with-statdpath=/var/lib/nfs/statd \
--with-pluginpath=${libdir}/libnfsidmap \
- --with-rpcgen=${HOSTTOOLS_DIR}/rpcgen \
+ --with-rpcgen=${STAGING_BINDIR_NATIVE}/rpcgen \
"
LDFLAGS += "-lsqlite3 -levent"
rpggen can be built and provided by rpcsvc-proto-native so we no longer need to have it from the host (where it used to be part of glibc). Drop from HOSTTOOLS, add a DEPENDS and switch to using it form the native sysroot. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/conf/bitbake.conf | 2 +- meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)