[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1486630590-9410-4-git-send-email-mpe@ellerman.id.au>
Date: Thu, 9 Feb 2017 19:56:29 +1100
From: Michael Ellerman <mpe@...erman.id.au>
To: shuahkh@....samsung.com, bamvor.zhangjian@...wei.com
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org,
linux-kselftest@...r.kernel.org, linux-api@...r.kernel.org
Subject: [PATCH 4/5] selftests/powerpc: Fix the clean rule since recent changes
The clean rule is broken for the powerpc tests:
make[1]: Entering directory 'tools/testing/selftests/powerpc'
Makefile:63: warning: overriding recipe for target 'clean'
../lib.mk:51: warning: ignoring old recipe for target 'clean'
/bin/sh: 3: Syntax error: end of file unexpected (expecting "done")
Makefile:63: recipe for target 'clean' failed
Fixes: a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT")
Signed-off-by: Michael Ellerman <mpe@...erman.id.au>
---
tools/testing/selftests/powerpc/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests/powerpc/Makefile b/tools/testing/selftests/powerpc/Makefile
index 1d48c0cab596..1c5d0575802e 100644
--- a/tools/testing/selftests/powerpc/Makefile
+++ b/tools/testing/selftests/powerpc/Makefile
@@ -62,7 +62,8 @@ endef
clean:
@for TARGET in $(SUB_DIRS); do \
BUILD_TARGET=$$OUTPUT/$$TARGET; \
- $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean;\ done;
+ $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean; \
+ done;
rm -f tags
tags:
--
2.7.4
Powered by blists - more mailing lists