diff options
author | Li Zhijian <lizhijian@cn.fujitsu.com> | 2021-09-15 16:45:54 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-09-15 19:34:21 +0300 |
commit | 8914a7a247e065438a0ec86a58c1c359223d2c9e (patch) | |
tree | 215f8035370d603ba49bb80c088dd7ec25c38489 /tools/objtool | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) | |
download | linux-8914a7a247e065438a0ec86a58c1c359223d2c9e.tar.xz |
selftests: be sure to make khdr before other targets
LKP/0Day reported some building errors about kvm, and errors message
are not always same:
- lib/x86_64/processor.c:1083:31: error: ‘KVM_CAP_NESTED_STATE’ undeclared
(first use in this function); did you mean ‘KVM_CAP_PIT_STATE2’?
- lib/test_util.c:189:30: error: ‘MAP_HUGE_16KB’ undeclared (first use
in this function); did you mean ‘MAP_HUGE_16GB’?
Although kvm relies on the khdr, they still be built in parallel when -j
is specified. In this case, it will cause compiling errors.
Here we mark target khdr as NOTPARALLEL to make it be always built
first.
CC: Philip Li <philip.li@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions