commit | b4f5019d831c99980e47e193a8f77a7be88a578e | [log] [tgz] |
---|---|---|
author | Nan Li <william.bjlinan@hotmail.com> | Wed Nov 23 01:58:30 2016 +0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Dec 12 17:47:02 2016 +0000 |
tree | 10e4fb1ca82135ecf3cc46d8eecd95494647a019 | |
parent | 7ab426e4832580052d43018e9b9bc32021a62bc0 [diff] |
Disable gobject-introspection to make openbmc build on ppc64le As a known issue, the introspection data cannot be built on ppc64le. https://lists.yoctoproject.org/pipermail/yocto/2016-April/029582.html. To work around, I disable the use of qemu when we build openbmc by modifying the configuration files: Add MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode" to the end line. Resolve: openbmc/openbmc#640 Change-Id: Idb6584ca43a8d4f005aa365f62aa1d46d2a00fd5 Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
OpenBMC uses Yocto/Open-Embedded for a build system, which supports an out-of-tree build. It is recommended that you create an empty directory somewhere to hold the build. This directory will get big.
On Ubuntu 14.04 the following packages are required to build the default target
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
On Fedora 23 the following packages are required to build the default target:
sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake sudo dnf groupinstall "C Development Tools and Libraries"
To start a build:
cd <builddir> . <repodir>/openbmc-env bitbake obmc-phosphor-image