commit | 9b60b5fe4a89a24a3866ff38ba7e681fe675da29 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Tue Aug 30 12:30:23 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Aug 30 19:28:04 2016 +0000 |
tree | 6cbc115640d406ee50a6fb0152492506299e1e28 | |
parent | 44a22c2e1e5f66aa59d2f53c30d68b969f5dfb1a [diff] |
phosphor: Fix TARGET_*FLAGS variables A few recipes were incorrectly passing -std=c++14 to CFLAGS or CPPFLAGS, which was causing compile failure for pure C code. Change-Id: I6a3f3cb8c53de95f2cf7631387b975b4ccd784ee Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
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