Mike Frysinger | d39893e | 2012-03-23 12:30:02 -0400 | [diff] [blame] | 1 | From 7103d3e8e0f9dc1804ba06ee66ee02753e8ce50e Mon Sep 17 00:00:00 2001 |
| 2 | From: Mike Frysinger <vapier@gentoo.org> |
| 3 | Date: Fri, 23 Mar 2012 12:27:13 -0400 |
| 4 | Subject: [PATCH] kill: fix dependency on ipc subdir |
| 5 | |
| 6 | We need to use MAKE_DEPS to declare the ipc subdir depend otherwise |
| 7 | attempting to do `make kill01` without building in the ipc subdir |
| 8 | will fail, and we can hit race conditions in the overall `make`. |
| 9 | |
| 10 | Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| 11 | --- |
| 12 | testcases/kernel/syscalls/kill/Makefile | 2 +- |
| 13 | 1 files changed, 1 insertions(+), 1 deletions(-) |
| 14 | |
| 15 | diff --git a/testcases/kernel/syscalls/kill/Makefile b/testcases/kernel/syscalls/kill/Makefile |
| 16 | index 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 | -- |
| 29 | 1.7.8.5 |
| 30 | |