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