switch-coreboot/payloads/coreinfo
Patrick Georgi c2ab04e697 UPSTREAM: build system: don't run xcompile or git for %clean/%config targets
It takes a long time for no gain: We don't need to update the
submodules, we don't need to fetch the revision, we don't need to find
the compilers, when all we want to do is to manipulate the .config file
or clean the build directory.

BUG=none
BRANCH=none
TEST=none
CQ-DEPEND=CL:432758

Change-Id: I2a2e65d1f5945885b43e32ecb8406f83f973c106
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 0ffef882d8
Original-Change-Id: Ie1bd446a0d49a81e3cccdb56fe2c43ffd83b6c98
Original-Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/18182
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Original-Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://chromium-review.googlesource.com/431983
2017-01-26 18:43:51 -08:00
..
bootlog_module.c coreinfo: Rewrite bootlog_module 2015-11-21 18:03:40 +01:00
cbfs_module.c UPSTREAM: coreinfo: make the CBFS list scrollable 2016-10-14 13:10:22 -07:00
COPYING corinfo: Inital release of the coreinfo code 2008-03-20 00:11:05 +00:00
coreboot_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
coreinfo.c UPSTREAM: coreinfo: Add support to read timestamps 2016-07-21 11:22:05 -07: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
Kconfig UPSTREAM: coreinfo: Add support to read timestamps 2016-07-21 11:22:05 -07:00
Makefile UPSTREAM: build system: don't run xcompile or git for %clean/%config targets 2017-01-26 18:43:51 -08:00
multiboot_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
nvram_module.c coreinfo/nvram: Print correct line numbers 2016-03-11 18:44:04 +01:00
pci_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ramdump_module.c coreinfo: Pretty print RAM addresses 2016-03-15 18:23:30 +01:00
README Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
timestamps_module.c UPSTREAM: coreinfo: Add support to read timestamps 2016-07-21 11:22:05 -07:00

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