coreboot-kgpe-d16/payloads/coreinfo
Martin Roth e3df18451c Makefiles: Rename top-level Makefiles from .inc to .mk
The .inc suffix is confusing to various tools as it's not specific to
Makefiles. This means that editors don't recognize the files, and don't
open them with highlighting and any other specific editor functionality.

This issue is also seen in the release notes generation script where
Makefiles get renamed before running cloc.

The rest of the Makefiles will be renamed in following commits.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Idaf69c6871d0bc1ee5e2e53157b8631c55eb3db9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80063
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2024-01-24 08:31:31 +00:00
..
.gitignore coreinfo: Use libpayload's new Makefile.payload 2021-02-07 16:22:56 +00:00
AUTHORS coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
bootlog_module.c payloads/coreinfo: Use C99 flexible arrays 2023-08-01 12:40:59 +00:00
cbfs_module.c payloads/coreinfo: Use C99 flexible arrays 2023-08-01 12:40:59 +00:00
COPYING
coreboot_module.c payloads/coreinfo/coreboot_module.c: Remove 'break' after 'return' 2022-05-16 02:56:31 +00:00
coreinfo.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
coreinfo.h coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
cpuid.S coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
cpuinfo_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
Kconfig coreinfo: Add support for link time optimization 2020-11-02 22:10:23 +00:00
Makefile Makefiles: Rename top-level Makefiles from .inc to .mk 2024-01-24 08:31:31 +00:00
multiboot_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
nvram_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
pci_module.c payloads/coreinfo: Rename pci_scan_bus() 2020-10-20 20:34:35 +00:00
ramdump_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
README treewide: Remove trailing whitespace 2021-02-17 17:30:05 +00:00
timestamps_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00: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