summaryrefslogtreecommitdiffstats
path: root/Makefile.inc
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2016-11-16 15:03:43 -0600
committerMartin Roth <martinroth@google.com>2016-11-18 20:28:37 +0100
commit91480cc64c2ee18c286a0d8899f47977c08d8210 (patch)
tree2855eeae6bdab21fcb51e0a9c808816ce12e4912 /Makefile.inc
parentf1395d825be59663913f88ddaf01cbfa6c46afa7 (diff)
downloadcoreboot-91480cc64c2ee18c286a0d8899f47977c08d8210.tar.gz
coreboot-91480cc64c2ee18c286a0d8899f47977c08d8210.tar.bz2
coreboot-91480cc64c2ee18c286a0d8899f47977c08d8210.zip
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 Change-Id: If825701450c78289cb8cca731d589e12aafced11 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>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index cb0b21cbb29f..a1931584a4c2 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).