[LTP] [RFC PATCH 9/9] syscalls/ipc: Fix Makefile

Petr Vorel
2018-06-13T12:35:20Z

Hi Cyril,

> Switch to new ipc library now that all testcases are rewritten.

> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
> ---

I've noticed, that some commits from this patchset aren't bisectable, due
dependency on new library (libnewipc.h).
IMHO it's worth of fixing it.

Kind regards,
Petr

> testcases/kernel/syscalls/ipc/msgctl/Makefile | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)

> diff --git a/testcases/kernel/syscalls/ipc/msgctl/Makefile b/testcases/kernel/syscalls/ipc/msgctl/Makefile
> index 4472eeb1c..f9ee8d2c2 100644
> --- a/testcases/kernel/syscalls/ipc/msgctl/Makefile
> +++ b/testcases/kernel/syscalls/ipc/msgctl/Makefile
> @@ -19,11 +19,5 @@
> top_srcdir ?= ../../../../..

> include $(top_srcdir)/include/mk/testcases.mk
> -
> -LIBMSGCTL := $(LIBDIR)/libmsgctl.a
> -LDLIBS += -lmsgctl
> -
> -MAKE_DEPS := $(LIBMSGCTL)
> -
> -include $(abs_srcdir)/../Makefile.inc
> +include $(abs_srcdir)/../Makefile2.inc
> include $(top_srcdir)/include/mk/generic_leaf_target.mk