From 6f1a7e2a5be4fbcc605d76a080716095b07aa15e Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Thu, 4 Aug 2016 17:38:00 -0400 Subject: [PATCH] bring in cbmem from coreboot utils to be able to see the coreboot console --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 35b05c8..d372c6f 100644 --- a/Makefile +++ b/Makefile @@ -93,6 +93,14 @@ initrd/bin/busybox: $(build)/$(busybox_dir)/busybox CONFIG_PREFIX="$(pwd)/initrd" \ install +# hack to build cbmem from coreboot +initrd_bins += initrd/bin/cbmem +initrd/bin/cbmem: $(build)/$(coreboot_dir)/util/cbmem/cbmem + cmp --quiet "$^" "$@" \ + || cp "$^" "$@" +$(build)/$(coreboot_dir)/util/cbmem/cbmem: $(build)/$(coreboot_dir)/.canary + make -C "$(dir $@)" + # Update all of the libraries in the initrd based on the executables # that were installed.