xref: /aosp_15_r20/external/coreboot/payloads/coreinfo/README (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1This is a silly little program that demonstrates how cool libpayload is
2and also serves a purpose.  It is fun and educational!
3
4Requirements
5------------
6
7You should use the coreboot reference cross compiler. If you insist on using
8your system compiler, some Linux distributions might require you to install
9a package called gcc-multilib if you are on a 64bit system.
10
11Build
12-----
13
14You need libpayload to build coreinfo. So, first, you need follow the README of
15libpayload to build it but install libpayload into its own directory by doing
16this:
17
18 $ make DESTDIR=/path/to/libpayload/install install
19
20Then you can build coreinfo now:
21
22 $ cd coreinfo
23
24 $ make menuconfig
25
26 $ make
27