aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/efivarfs/efivarfs.sh
diff options
context:
space:
mode:
authorShuah Khan <skhan@linuxfoundation.org>2019-04-15 15:51:42 -0600
committerShuah Khan <skhan@linuxfoundation.org>2019-04-19 17:15:27 -0600
commit8ce72dc32578f16942997f041f62759b4c693b6f (patch)
treefa0e4507802177ffd283818ad5984e52741d6648 /tools/testing/selftests/efivarfs/efivarfs.sh
parentselftests/kexec: update get_secureboot_mode (diff)
downloadlinux-dev-8ce72dc32578f16942997f041f62759b4c693b6f.tar.xz
linux-dev-8ce72dc32578f16942997f041f62759b4c693b6f.zip
selftests: fix headers_install circular dependency
"make kselftest" fails with "Circular Makefile.o <- prepare dependency dropped." error, when lib.mk invokes "make headers_install". Make level 0: Main make calls selftests run_tests target ... Make level n: selftests lib.mk invokes main make's headers_install The secondary level make inherits builtin-rules which will use the rule to generate Makefile.o and runs into "Circular Makefile.o <- prepare dependency dropped." error, and kselftest compile fails. Invoke headers_install target with --no-builtin-rules to avoid circular error. In addition, lib.mk installs headers in the default HDR_PATH, even when build relocation is requested with O= or export KBUILD_OUTPUT. Fix the problem by passing in INSTALL_HDR_PATH. The headers are installed under the specified output "dir/usr". Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions