summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.inc b/tests/Makefile.inc
index 6cf92fa999..3473ef74d0 100644
--- a/tests/Makefile.inc
+++ b/tests/Makefile.inc
@@ -100,7 +100,7 @@ $(call evaluate_subdirs)
define TEST_CC_template
# Generate custom config.h redefining given symbols
-$(1)-config-file := $(obj)/$(1)/config.h
+$(1)-config-file := $(testobj)/$(1)/config.h
$$($(1)-config-file): $(TEST_KCONFIG_AUTOHEADER)
mkdir -p $$(dir $$@)
printf '// File generated by tests/Makefile.inc\n// Do not change\n' > $$@