summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2016-03-12 11:47:00 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-03-15 21:45:26 +0100
commit80547369eaedc8ff7d3d987f4bd0a5614258f1d6 (patch)
treece344ec77866cd49176cbe92091c834d9a032137 /payloads
parent3385ebe59a452ce66e0180641de271b028a41e7e (diff)
downloadcoreboot-80547369eaedc8ff7d3d987f4bd0a5614258f1d6.tar.xz
coreinfo: Use tinycurses
When using PDcurses over a serial line, the background of coreinfo is not properly cleared. Hence use tinycurses, which was the only option when coreinfo was developed. Change-Id: I15bb6eb552cf924de98d09ef63be33ecf336c526 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/14067 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads')
-rw-r--r--payloads/coreinfo/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile
index 96acecc86c..ff98fd595f 100644
--- a/payloads/coreinfo/Makefile
+++ b/payloads/coreinfo/Makefile
@@ -50,7 +50,7 @@ HOSTCXXFLAGS := -I$(srck) -I$(objk)
LIBCONFIG_PATH := ../libpayload
LIBPAYLOAD_DIR := $(coreinfo_obj)/libpayload
HAVE_LIBPAYLOAD := $(wildcard $(LIBPAYLOAD_DIR)/lib/libpayload.a)
-LIB_CONFIG ?= defconfig
+LIBPAYLOAD_CONFIG ?= configs/defconfig-tinycurses
OBJCOPY ?= objcopy
INCLUDES = -I$(coreinfo_obj) -include $(LIBPAYLOAD_DIR)/include/kconfig.h
@@ -117,7 +117,7 @@ else
libpayload:
printf "Building libpayload @ $(LIBCONFIG_PATH).\n"
$(MAKE) -C $(LIBCONFIG_PATH) distclean coreinfo_obj=$(coreinfo_obj)/libptmp
- $(MAKE) -C $(LIBCONFIG_PATH) $(LIB_CONFIG)
+ $(MAKE) -C $(LIBCONFIG_PATH) defconfig KBUILD_DEFCONFIG=$(LIBPAYLOAD_CONFIG)
$(MAKE) -C $(LIBCONFIG_PATH) install DESTDIR=$(coreinfo_obj)
endif