coreboot-kgpe-d16/payloads/coreinfo
Stefan Reinauer ccc55fdc6f coreinfo: fix compilation
- extra rule for config.h creation
- include kconfig.h from libpayload
- libpayload symbols are conflicting with gcc builtins (e.g. log2)
- ALIGN() is already defined in libpayload these days
- move libpayload build directory under build/

Change-Id: I2aefdde26853253d58f6cf6e186e784871c1cb5b
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/10717
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-07-13 09:10:13 +02:00
..
COPYING corinfo: Inital release of the coreinfo code 2008-03-20 00:11:05 +00:00
Kconfig Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
Makefile coreinfo: fix compilation 2015-07-13 09:10:13 +02:00
README Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
bootlog_module.c coreinfo: Use IS_ENABLED() to query Kconfig variables 2015-07-01 00:36:36 +02:00
cbfs_module.c coreinfo: fix compilation 2015-07-13 09:10:13 +02:00
coreboot_module.c coreinfo: Use IS_ENABLED() to query Kconfig variables 2015-07-01 00:36:36 +02:00
coreinfo.c coreinfo: Use IS_ENABLED() to query Kconfig variables 2015-07-01 00:36:36 +02:00
coreinfo.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
cpuid.S Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
cpuinfo_module.c coreinfo: Use IS_ENABLED() to query Kconfig variables 2015-07-01 00:36:36 +02:00
lar_module.c coreinfo: Use IS_ENABLED() to query Kconfig variables 2015-07-01 00:36:36 +02:00
multiboot_module.c coreinfo: Use IS_ENABLED() to query Kconfig variables 2015-07-01 00:36:36 +02:00
nvram_module.c coreinfo: Use IS_ENABLED() to query Kconfig variables 2015-07-01 00:36:36 +02:00
pci_module.c coreinfo: Use IS_ENABLED() to query Kconfig variables 2015-07-01 00:36:36 +02:00
ramdump_module.c coreinfo: Use IS_ENABLED() to query Kconfig variables 2015-07-01 00:36:36 +02: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