diff options
author | Mickaël Salaün <[email protected]> | 2022-09-09 12:34:02 +0200 |
---|---|---|
committer | Mickaël Salaün <[email protected]> | 2022-09-14 16:37:38 +0200 |
commit | a52540522c9541bfa3e499d2edba7bc0ca73a4ca (patch) | |
tree | 4e199afc17570dec845afd9d031abf8ce829228f /drivers/net/wwan/iosm/iosm_ipc_protocol.c | |
parent | 80e78fcce86de0288793a0ef0f6acf37656ee4cf (diff) |
selftests/landlock: Fix out-of-tree builds
These changes simplify the Makefile and handle these 5 ways to build
Landlock tests:
- make -C tools/testing/selftests/landlock
- make -C tools/testing/selftests TARGETS=landlock gen_tar
- make TARGETS=landlock kselftest-gen_tar
- make TARGETS=landlock O=build kselftest-gen_tar
- make -C /tmp/linux TARGETS=landlock O=/tmp/build kselftest-gen_tar
This also makes $(KHDR_INCLUDES) available to other test collections
when building in their directory.
Fixes: f1227dc7d041 ("selftests/landlock: fix broken include of linux/landlock.h")
Fixes: 3bb267a36185 ("selftests: drop khdr make target")
Cc: Anders Roxell <[email protected]>
Cc: Guillaume Tucker <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Mickaël Salaün <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol.c')
0 files changed, 0 insertions, 0 deletions