summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-07-24 12:25:07 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-07-28 20:27:42 +0200
commitfde3275fb432128dcdd244f598e36692103c2433 (patch)
tree8a35d055da150e6110c554f43c6ade23b9975e24 /Makefile
parentaad4587c033d311bb200e27847872ff4282cd642 (diff)
downloadcoreboot-fde3275fb432128dcdd244f598e36692103c2433.tar.xz
Makefile: Include $(top) in DOTCONFIG definition to allow override
Including $(top) in the DOTCONFIG definition allows getting rid of the $(top) prefix in payloads, which in turns allows providing a full path for DOTCONFIG via the command line. Change-Id: I7546a12cf4a2a146e32fef81121f45f83ba67ac8 Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-on: https://review.coreboot.org/15826 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1c86bf6697..8bd28a7e5d 100644
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,7 @@ TOPLEVEL := .
CONFIG_SHELL := sh
KBUILD_DEFCONFIG := configs/defconfig
UNAME_RELEASE := $(shell uname -r)
-DOTCONFIG ?= .config
+DOTCONFIG ?= $(top)/.config
KCONFIG_CONFIG = $(DOTCONFIG)
export KCONFIG_CONFIG
HAVE_DOTCONFIG := $(wildcard $(DOTCONFIG))