[LTP] [RFC PATCH 1/1] rpc: Use libtirpc instead of Sun RPC from glib
Petr Vorel
pvorel@suse.cz
Tue Mar 6 12:16:02 CET 2018
Hi Cyril,
> > diff --git a/testcases/network/Makefile b/testcases/network/Makefile
> > index 69901a718..f7097e164 100644
> > --- a/testcases/network/Makefile
> > +++ b/testcases/network/Makefile
> > @@ -39,6 +39,10 @@ ifeq ($(ANDROID),1)
> > FILTER_OUT_DIRS += lib6 rpc sockets
> > endif
> > +ifeq ($(TIRPC_LIBS),)
> > +FILTER_OUT_DIRS += rpc
> > +endif
> I do not get why we are moving the FILTER_OUT_DIRS one level up here.
> I'm not saying it's wrong but changes like that should be at least
> explained in the commit message.
You're right. I'll split it into 2 commits and send v2.
> > $(INSTALL_TARGETS): | generate
> > .PHONY: generate
> > diff --git a/testcases/network/rpc/Makefile b/testcases/network/rpc/Makefile
> > index e6c377736..ea36f8ad3 100644
> > --- a/testcases/network/rpc/Makefile
> > +++ b/testcases/network/rpc/Makefile
> > @@ -25,9 +25,6 @@ top_srcdir ?= ../../..
> > include $(top_srcdir)/include/mk/env_pre.mk
> > INSTALL_TARGETS := *.sh
> > -
> > -ifeq ($(TIRPC_LIBS),)
> > -FILTER_OUT_DIRS += rpc-tirpc
> > -endif
> > +LDLIBS += $(TIRPC_LIBS)
> Isn't this added in the Makefile.inc?
Oh, sorry.
> The rest of the patchset looks obviously OK.
Kind regards,
Petr
More information about the ltp
mailing list