mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 10:19:47 +00:00
selftests/powerpc/cache_shape: Fix out-of-tree build
[ Upstream commit 69f8117f17
]
Use TEST_GEN_PROGS and don't redefine all, this makes the out-of-tree
build work. We need to move the extra dependencies below the include
of lib.mk, because it adds the $(OUTPUT) prefix if it's defined.
We can also drop the clean rule, lib.mk does it for us.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0a67a82b56
commit
9679a2e9e6
1 changed files with 2 additions and 7 deletions
|
@ -1,11 +1,6 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
TEST_PROGS := cache_shape
|
||||
|
||||
all: $(TEST_PROGS)
|
||||
|
||||
$(TEST_PROGS): ../harness.c ../utils.c
|
||||
TEST_GEN_PROGS := cache_shape
|
||||
|
||||
include ../../lib.mk
|
||||
|
||||
clean:
|
||||
rm -f $(TEST_PROGS) *.o
|
||||
$(TEST_GEN_PROGS): ../harness.c ../utils.c
|
||||
|
|
Loading…
Reference in a new issue