summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile.common')
-rw-r--r--tests/Makefile.common5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile.common b/tests/Makefile.common
index 03ae7c4aa0a6..5cf04460733c 100644
--- a/tests/Makefile.common
+++ b/tests/Makefile.common
@@ -26,9 +26,10 @@ TEST_KCONFIG_DEPENDENCIES := $(testobj)/auto.conf.cmd
TEST_KCONFIG_SPLITCONFIG := $(testobj)/config/
TEST_KCONFIG_TRISTATE := $(testobj)/tristate.conf
+# Include order should be same as in real build
TEST_CFLAGS := -include $(src)/include/kconfig.h \
- -include $(src)/commonlib/bsd/include/commonlib/bsd/compiler.h \
- -include $(src)/include/rules.h
+ -include $(src)/include/rules.h \
+ -include $(src)/commonlib/bsd/include/commonlib/bsd/compiler.h
# Include generic test mock headers, before original ones
TEST_CFLAGS += -I$(testsrc)/include/mocks -I$(testsrc)/include