UPSTREAM: Makefile.inc: export VARIANT_DIR as top-level variable

export VARIANT_DIR at the top level, rather than doing so multiple
times at the SoC / board level

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/17451
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>

Change-Id: If825701450c78289cb8cca731d589e12aafced11
Reviewed-on: https://chromium-review.googlesource.com/413056
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Matt DeVillier 2016-11-16 15:03:43 -06:00 committed by chrome-bot
commit e13b00bdba

View file

@ -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).