[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190114135144.26096-4-geert+renesas@glider.be>
Date: Mon, 14 Jan 2019 14:51:35 +0100
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Shuah Khan <shuah@...nel.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <michal.lkml@...kovi.net>
Cc: Jonathan Corbet <corbet@....net>,
Bamvor Jian Zhang <bamv2005@...il.com>,
Kees Cook <keescook@...omium.org>,
linux-kselftest@...r.kernel.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH 03/12] selftests: Fix header install directory with O=
When building kselftest in a separate output directory, the kernel
headers are still installed in the source directory, instead of in the
specified output directory.
Fix this by passing the expected path to the make subprocess.
Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ed7c1ea324e97ac2..5355033dda6ed1ea 100644
--- a/Makefile
+++ b/Makefile
@@ -1191,7 +1191,7 @@ endif
PHONY += kselftest
kselftest:
- $(Q)$(MAKE) -C $(srctree)/tools/testing/selftests run_tests O=$(abspath $(objtree)/tools/testing/selftests)
+ $(Q)$(MAKE) -C $(srctree)/tools/testing/selftests run_tests O=$(abspath $(objtree)/tools/testing/selftests) INSTALL_HDR_PATH=$(abspath $(INSTALL_HDR_PATH))
PHONY += kselftest-clean
kselftest-clean:
--
2.17.1
Powered by blists - more mailing lists