Add build instructions for coreinfo, specially pointing out installing

gcc-multilib on a 64bit system.                                                   
                                                                                  
Signed-off-by: Yang Hamo Bai <hamo.by@gmail.com>                                  
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6470 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Yang Hamo Bai 2011-04-01 00:39:07 +00:00 committed by Stefan Reinauer
parent 2633d272d4
commit 0df0b52568
1 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,27 @@
This is a silly little program that demonstrates how cool libpayload is This is a silly little program that demonstrates how cool libpayload is
and also serves a purpose. Its fun and educational! and also serves a purpose. Its 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