summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/dedede/Makefile.inc')
-rw-r--r--src/mainboard/google/dedede/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/Makefile.inc b/src/mainboard/google/dedede/Makefile.inc
index c2fc4198ef..8f501131e1 100644
--- a/src/mainboard/google/dedede/Makefile.inc
+++ b/src/mainboard/google/dedede/Makefile.inc
@@ -4,3 +4,7 @@ ramstage-y += mainboard.c
subdirs-y += variants/baseboard
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
+
+VARIANT_DIR:=$(call strip_quotes,$(CONFIG_VARIANT_DIR))
+subdirs-y += variants/$(VARIANT_DIR)
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include