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 <[email protected]>

Signed-off-by: Stanislav Kholmanskikh <[email protected]>
---
 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


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to