summaryrefslogtreecommitdiff
path: root/src/mainboard/foxconn/g41s-k/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/foxconn/g41s-k/Makefile.inc')
-rw-r--r--src/mainboard/foxconn/g41s-k/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/foxconn/g41s-k/Makefile.inc b/src/mainboard/foxconn/g41s-k/Makefile.inc
index 0786d6fca5..ca8de4d597 100644
--- a/src/mainboard/foxconn/g41s-k/Makefile.inc
+++ b/src/mainboard/foxconn/g41s-k/Makefile.inc
@@ -1,4 +1,6 @@
ramstage-y += cstates.c
romstage-y += gpio.c
-ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads
+
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/