diff options
author | Guillaume Tucker <guillaume.tucker@collabora.com> | 2022-07-13 08:33:43 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-07-26 18:06:33 -0600 |
commit | 4062eba9f3d072e72645860fbc5d160428a75c50 (patch) | |
tree | be461c0401e375508e947a9ca4a20e2460fdd7b7 /Makefile | |
parent | a917dd94b832c8f4ad458d0ca2bd1007466c5643 (diff) | |
download | lwn-4062eba9f3d072e72645860fbc5d160428a75c50.tar.gz lwn-4062eba9f3d072e72645860fbc5d160428a75c50.zip |
Makefile: replace headers_install with headers for kselftest
Replace headers_install with headers as kselftest uses the header
files from within the kernel tree rather than from a system-wide
installation.
We can still run this directly:
$ make O=build kselftest-all
and when building from the selftests directory:
$ make O=build headers
$ make O=build -C tools/testing/selftests all
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Reported-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1347,10 +1347,10 @@ tools/%: FORCE # Kernel selftest PHONY += kselftest -kselftest: headers_install +kselftest: headers $(Q)$(MAKE) -C $(srctree)/tools/testing/selftests run_tests -kselftest-%: headers_install FORCE +kselftest-%: headers FORCE $(Q)$(MAKE) -C $(srctree)/tools/testing/selftests $* PHONY += kselftest-merge |