Jordan Crouse | 7249f79 | 2008-03-20 00:11:05 +0000 | [diff] [blame] | 1 | This is a silly little program that demonstrates how cool libpayload is |
Paul Menzel | 639f02b | 2014-05-08 23:30:12 +0200 | [diff] [blame] | 2 | and also serves a purpose. It is fun and educational! |
Jordan Crouse | 7249f79 | 2008-03-20 00:11:05 +0000 | [diff] [blame] | 3 | |
Yang Hamo Bai | 0df0b52 | 2011-04-01 00:39:07 +0000 | [diff] [blame] | 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 | |
Elyes HAOUAS | 24b1305 | 2018-04-25 21:52:56 +0200 | [diff] [blame] | 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 |
Yang Hamo Bai | 0df0b52 | 2011-04-01 00:39:07 +0000 | [diff] [blame] | 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 |
Martin Roth | 5c73413 | 2021-02-14 13:52:00 -0700 | [diff] [blame] | 25 | |
Yang Hamo Bai | 0df0b52 | 2011-04-01 00:39:07 +0000 | [diff] [blame] | 26 | $ make |