Skip to content

Commit 4062eba

Browse files
gctuckershuahkh
authored andcommitted
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 <[email protected]> Reported-by: Masahiro Yamada <[email protected]> Acked-by: Shuah Khan <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent a917dd9 commit 4062eba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,10 +1347,10 @@ tools/%: FORCE
13471347
# Kernel selftest
13481348

13491349
PHONY += kselftest
1350-
kselftest: headers_install
1350+
kselftest: headers
13511351
$(Q)$(MAKE) -C $(srctree)/tools/testing/selftests run_tests
13521352

1353-
kselftest-%: headers_install FORCE
1353+
kselftest-%: headers FORCE
13541354
$(Q)$(MAKE) -C $(srctree)/tools/testing/selftests $*
13551355

13561356
PHONY += kselftest-merge

0 commit comments

Comments
 (0)