From e13b00bdba423b46e25e2814e712249271d04bad Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 16 Nov 2016 15:03:43 -0600 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/17451 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Change-Id: If825701450c78289cb8cca731d589e12aafced11 Reviewed-on: https://chromium-review.googlesource.com/413056 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) 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).