summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-08-03 14:05:33 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-08-03 17:24:32 +0200
commitdb0c0c4a606852bd7e52ad88850e7b2441454050 (patch)
tree38d843521214c189922b6dc2314e57c2e6f95e0c
parentc6a4aae8a310d36272c9547ff002bd1aeabf5a42 (diff)
downloadcoreboot-db0c0c4a606852bd7e52ad88850e7b2441454050.tar.xz
libpayload: Allow for KBUILD_DEFCONFIG override
In order to specify a defconfig to libpayload, one might want to declare KBUILD_DEFCONFIG in the make command line and run the defconfig target. Change-Id: I2ade6f4ff2f0b6478a0831158028ebc79b5daa81 Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-on: http://review.coreboot.org/11112 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--payloads/libpayload/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index f3544d413a..206785c5ab 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -54,7 +54,7 @@ export CONFIG_ := CONFIG_LP_
TOPLEVEL := .
CONFIG_LP_SHELL := sh
-KBUILD_DEFCONFIG := configs/defconfig
+KBUILD_DEFCONFIG ?= configs/defconfig
UNAME_RELEASE := $(shell uname -r)
DOTCONFIG ?= .config
KCONFIG_CONFIG = $(DOTCONFIG)