1From 7103d3e8e0f9dc1804ba06ee66ee02753e8ce50e Mon Sep 17 00:00:00 2001 2From: Mike Frysinger <vapier@gentoo.org> 3Date: Fri, 23 Mar 2012 12:27:13 -0400 4Subject: [PATCH] kill: fix dependency on ipc subdir 5 6We need to use MAKE_DEPS to declare the ipc subdir depend otherwise 7attempting to do `make kill01` without building in the ipc subdir 8will fail, and we can hit race conditions in the overall `make`. 9 10Signed-off-by: Mike Frysinger <vapier@gentoo.org> 11--- 12 testcases/kernel/syscalls/kill/Makefile | 2 +- 13 1 files changed, 1 insertions(+), 1 deletions(-) 14 15diff --git a/testcases/kernel/syscalls/kill/Makefile b/testcases/kernel/syscalls/kill/Makefile 16index 6971d96..23dabfc 100644 17--- a/testcases/kernel/syscalls/kill/Makefile 18+++ b/testcases/kernel/syscalls/kill/Makefile 19@@ -32,7 +32,7 @@ $(LIBDIR): 20 $(LIB): $(LIBDIR) 21 $(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" all 22 23-all: | $(LIB) 24+MAKE_DEPS := $(LIB) 25 26 CPPFLAGS += -I$(abs_srcdir)/$(LIBDIR) 27 28-- 291.7.8.5 30 31