diff options
author | Shuah Khan <skhan@linuxfoundation.org> | 2019-05-07 17:44:21 -0600 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-05-09 09:48:47 -0600 |
commit | c3c599281f2b9915200fe0390afe1ae7aca69feb (patch) | |
tree | c98d393a19be6036cc3d7d208339abc872d7f61d /scripts/gdb/vmlinux-gdb.py | |
parent | fdeb89d84eb28241f5168cc13cc53a5c39f5d111 (diff) |
selftests: fix install target to use default install path
Install target fails when INSTALL_PATH is undefined. Fix install target
to use "output_dir/install as the default install location. "output_dir"
is either the root of selftests directory under kernel source tree or
output directory specified by O= or KBUILD_OUTPUT.
e.g:
make -C tools/testing/selftests install
<installs under tools/testing/selftests/install>
make O=/tmp/kselftest -C tools/testing/selftests install
<installs under /tmp/kselftest/install>
export KBUILD_OUTPUT=/tmp/kselftest
make -C tools/testing/selftests install
<installs under /tmp/kselftest/install>
In addition, add "all" target as dependency to "install" to build and
install using a single command.
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions