commit | 85eebc3b96ed17046425d4da883d93dba616e778 | [log] [tgz] |
---|---|---|
author | Andreas Oberritter <obi@opendreambox.org> | Mon Apr 25 09:25:33 2016 +0200 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jun 29 12:35:28 2016 -0500 |
tree | 8060fee6c200ce022376e200e5a5b89d454de223 | |
parent | 856271db10ba2a1659ed5987953d2ab4b8d7c60d [diff] |
rpm: explicitly disable tomcrypt Configure autodetects libtomcrypt, but then it adds libtommath to $LIBS and fails to link subsequent tests if it's unavailable. | checking for pcre.h... yes | checking for pcre_compile in -lpcre... no | checking whether to build with PCRE library... no | ++ executing failure action | configure: error: unable to find usable PCRE library (From OE-Core rev: 54665fb9e27ba1b0e4eddaf170303d4f2db66fae) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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