coreboot-kgpe-d16/payloads/coreinfo
Paul Menzel 717ba74836 cbfs/payload type: Fix build warning and whitespace in name
Currently, adding a payload to CBFS using the build system, the warning
below is shown.

    W: Unknown type 'payload' ignored

Update payload type from "simple elf" to "simple_elf" and rename the
word "payload" to "simple_elf" in all Makefiles.

Fixes: 4f5bed52 (cbfs: Rename CBFS_TYPE_PAYLOAD to CBFS_TYPE_SELF)
Change-Id: Iccf6cc889b7ddd0c6ae04bda194fe5f9c00e495d
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/26240
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-05-15 11:20:45 +00:00
..
COPYING
Kconfig
Makefile
README payloads/coreinfo/README: Remove trailing whitespace 2018-04-27 09:09:45 +00:00
bootlog_module.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
cbfs_module.c cbfs/payload type: Fix build warning and whitespace in name 2018-05-15 11:20:45 +00:00
coreboot_module.c
coreinfo.c
coreinfo.h
cpuid.S
cpuinfo_module.c
multiboot_module.c
nvram_module.c
pci_module.c
ramdump_module.c
timestamps_module.c payloads/coreinfo: Free buffer before returning 2017-09-11 16:23:52 +00: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