coreboot-kgpe-d16/payloads/coreinfo
Martin Roth cacbcf4815 coreinfo: use coreboot crosscompiler
Set up coreinfo makefile to use .xcompile and the coreboot 32-bit cross
compiler toolchain.

Restrict to x86_32 gcc compiler.

Tested in QEMU

Change-Id: I1cc180a5eeaf6cb9a36fdcef70a9819d0f459168
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12454
Tested-by: build bot (Jenkins)
Tested-by: BSI firmware lab <coreboot-labor@bsi.bund.de>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-12-02 16:07:40 +01:00
..
COPYING
Kconfig tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Makefile coreinfo: use coreboot crosscompiler 2015-12-02 16:07:40 +01:00
README Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
bootlog_module.c coreinfo: Rewrite bootlog_module 2015-11-21 18:03:40 +01:00
cbfs_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
coreboot_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
coreinfo.c coreinfo: Move screen dimensions to header 2015-11-19 17:32:24 +01:00
coreinfo.h coreinfo: Move screen dimensions to header 2015-11-19 17:32:24 +01:00
cpuid.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cpuinfo_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lar_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
multiboot_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
nvram_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pci_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ramdump_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00

README

This is a silly little program that demonstrates how cool libpayload is
and also serves a purpose.  It is fun and educational!

Requirements
------------

You should use the coreboot reference cross compiler. If you insist on using
your system compiler, some Linux distributions might require you to install
a package called gcc-multilib if you are on a 64bit system.

Build
-----

You need libpayload to build coreinfo. So, first, you need follow the README of 
libpayload to build it but install libpayload into its own directory by doing 
this:

 $ make DESTDIR=/path/to/libpayload/install install

Then you can build coreinfo now:

 $ cd coreinfo

 $ make menuconfig
 
 $ make