diff --git a/Makefile.inc b/Makefile.inc index d8f7b2a7b3..32d95a4332 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -38,7 +38,9 @@ endif ####################################################################### # Basic component discovery MAINBOARDDIR=$(call strip_quotes,$(CONFIG_MAINBOARD_DIR)) +VARIANT_DIR:=$(call strip_quotes,$(CONFIG_VARIANT_DIR)) export MAINBOARDDIR +export VARIANT_DIR ## Final build results, which CBFSTOOL uses to create the final ## rom image file, are placed under $(objcbfs).