diff options
Diffstat (limited to 'tests/Makefile.common')
-rw-r--r-- | tests/Makefile.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.common b/tests/Makefile.common index d6c9bd60fc..e856fe07c1 100644 --- a/tests/Makefile.common +++ b/tests/Makefile.common @@ -60,6 +60,7 @@ TEST_CFLAGS += -Os endif TEST_CFLAGS += -D__TEST__ -D__COREBOOT__ +TEST_CFLAGS += -D__TEST_DATA_DIR__=\"$(testsrc)/data\" ifneq ($(filter-out 0,$(TEST_PRINT)),) TEST_CFLAGS += -DTEST_PRINT=1 @@ -121,7 +122,6 @@ $$($(1)-config-file): $(TEST_KCONFIG_AUTOHEADER) $($(1)-objs): TEST_CFLAGS += -I$$(dir $$($(1)-config-file)) \ -D__$$(shell echo $$($(1)-stage) | tr '[:lower:]' '[:upper:]')__ \ -D__TEST_NAME__=\"$(subst /,_,$(1))\" \ - -D__TEST_DATA_DIR__=\"$(testsrc)/data\" # Give us a way to distinguish between coreboot source files and test files in code. $($(1)-srcobjs): TEST_CFLAGS += -D__TEST_SRCOBJ__ |