summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn@rivosinc.com>2023-10-04 14:48:37 +0200
committerShuah Khan <skhan@linuxfoundation.org>2023-10-05 22:23:21 +0200
commit37013b557b7f39e603b4459ef82dc8b848f98a67 (patch)
tree1d344f2a714078b21aeb742e9858091f7fd492a5 /Makefile
parentkbuild: Let builtin have precedence over modules for kselftest-merge (diff)
downloadlinux-37013b557b7f39e603b4459ef82dc8b848f98a67.tar.xz
linux-37013b557b7f39e603b4459ef82dc8b848f98a67.zip
kbuild: Merge per-arch config for kselftest-merge target
Some kselftests has a per-arch config, e.g. tools/testing/selftests/bpf/config.s390x. Make sure these configs are picked up by the kselftest-merge target. Signed-off-by: Björn Töpel <bjorn@rivosinc.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 41fc7681fbab..fd8329474e86 100644
--- a/Makefile
+++ b/Makefile
@@ -1367,7 +1367,7 @@ kselftest-%: headers FORCE
PHONY += kselftest-merge
kselftest-merge:
$(if $(wildcard $(objtree)/.config),, $(error No .config exists, config your kernel first!))
- $(Q)find $(srctree)/tools/testing/selftests -name config | \
+ $(Q)find $(srctree)/tools/testing/selftests -name config -o -name config.$(UTS_MACHINE) | \
xargs $(srctree)/scripts/kconfig/merge_config.sh -y -m $(objtree)/.config
$(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig