bring in cbmem from coreboot utils to be able to see the coreboot console

This commit is contained in:
Trammell Hudson 2016-08-04 17:38:00 -04:00
parent 69ede68ced
commit 6f1a7e2a5b
Failed to extract signature

View File

@ -93,6 +93,14 @@ initrd/bin/busybox: $(build)/$(busybox_dir)/busybox
CONFIG_PREFIX="$(pwd)/initrd" \ CONFIG_PREFIX="$(pwd)/initrd" \
install 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 # Update all of the libraries in the initrd based on the executables
# that were installed. # that were installed.