From 8674f9c466906c18349490f954c84e501fe3ccb6 Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Fri, 16 Jun 2017 21:38:34 +0300 Subject: [PATCH] Make sure config.h is included --- build_full_test.mk | 1 + build_test.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/build_full_test.mk b/build_full_test.mk index 5b4685a91a..8b04cc3a4f 100644 --- a/build_full_test.mk +++ b/build_full_test.mk @@ -20,3 +20,4 @@ TEST_PATH=tests/$(TEST) $(TEST)_SRC=$(TEST_PATH)/test.c $(TMK_COMMON_SRC) $(TEST)_DEFS=$(TMK_COMMON_DEFS) +$(TEST)_CONFIG=$(TEST_PATH)/config.h diff --git a/build_test.mk b/build_test.mk index 32bb4d8078..4d532e5bd1 100644 --- a/build_test.mk +++ b/build_test.mk @@ -50,6 +50,7 @@ endif $(TEST_OBJ)/$(TEST)_SRC := $($(TEST)_SRC) $(TEST_OBJ)/$(TEST)_INC := $($(TEST)_INC) $(VPATH) $(GTEST_INC) $(TEST_OBJ)/$(TEST)_DEFS := $($(TEST)_DEFS) +$(TEST_OBJ)/$(TEST)_CONFIG := $($(TEST)_CONFIG) include $(TMK_PATH)/native.mk include $(TMK_PATH)/rules.mk