From: Stanislav K. <sta...@or...> - 2013-11-08 12:16:32
|
Both lib.mk and testcases/kernel/syscalls/ipc/Makefile.inc set LIB. It confuses make when both failes are included into a leaf Makefile. Renamed LIB to LIBIPC in Makefile.inc. The idea is by Cyril Hrubis <ch...@su...> Signed-off-by: Stanislav Kholmanskikh <sta...@or...> --- testcases/kernel/syscalls/ipc/Makefile.inc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testcases/kernel/syscalls/ipc/Makefile.inc b/testcases/kernel/syscalls/ipc/Makefile.inc index a468e93..c7890a9 100644 --- a/testcases/kernel/syscalls/ipc/Makefile.inc +++ b/testcases/kernel/syscalls/ipc/Makefile.inc @@ -25,15 +25,15 @@ LDLIBS += -lipc LIBDIR := ../lib -LIB := $(LIBDIR)/libipc.a +LIBIPC := $(LIBDIR)/libipc.a $(LIBDIR): mkdir -p "$@" -$(LIB): $(LIBDIR) +$(LIBIPC): $(LIBDIR) $(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" all -MAKE_DEPS := $(LIB) +MAKE_DEPS := $(LIBIPC) CPPFLAGS += -I$(abs_srcdir)/$(LIBDIR) -- 1.7.1 |