aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2010-12-08 19:58:30 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-12-08 19:58:30 +0000
commit89ec3760a9c2e5189681240aae866b20a9d6b592 (patch)
treecae632453c92b42fdaa6eedd1e6cf224300c05fb /Makefile
parentd35192544675575276482e5ce65d1b6a6fd9e4a0 (diff)
downloadcoreboot-89ec3760a9c2e5189681240aae866b20a9d6b592.tar.gz
coreboot-89ec3760a9c2e5189681240aae866b20a9d6b592.tar.xz
coreboot-89ec3760a9c2e5189681240aae866b20a9d6b592.zip
Allow user to define location for Kconfig config via
DOTCONFIG make variable (defaults to .config). Let abuild use that. Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6152 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0cfa85f6e..8a441db80 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,10 @@ export KCONFIG_AUTOCONFIG := $(obj)/auto.conf
CONFIG_SHELL := sh
KBUILD_DEFCONFIG := configs/defconfig
UNAME_RELEASE := $(shell uname -r)
-HAVE_DOTCONFIG := $(wildcard .config)
+DOTCONFIG ?= .config
+KCONFIG_CONFIG = $(DOTCONFIG)
+export KCONFIG_CONFIG
+HAVE_DOTCONFIG := $(wildcard $(DOTCONFIG))
MAKEFLAGS += -rR --no-print-directory
# Make is silent per default, but 'make V=1' will show all compiler calls.