summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Hamo Bai <hamo.by@gmail.com>2011-04-01 00:39:07 +0000
committerStefan Reinauer <stepan@openbios.org>2011-04-01 00:39:07 +0000
commit0df0b5256831609559514378bfd33ff35fcdea17 (patch)
treee79201a193e803be364bfcc20e5005cc6d124e1c
parent2633d272d45238aed170b1b14aa766edd0718ae0 (diff)
downloadcoreboot-0df0b5256831609559514378bfd33ff35fcdea17.tar.xz
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
-rw-r--r--payloads/coreinfo/README24
1 files changed, 24 insertions, 0 deletions
diff --git a/payloads/coreinfo/README b/payloads/coreinfo/README
index ba9774c885..4df5359c35 100644
--- a/payloads/coreinfo/README
+++ b/payloads/coreinfo/README
@@ -1,3 +1,27 @@
This is a silly little program that demonstrates how cool libpayload is
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
+