commit | e4ca76bc075ed65e7d813dfdd31a500db02a31c1 | [log] [tgz] |
---|---|---|
author | Rick Altherr <raltherr@google.com> | Fri Sep 23 15:16:28 2016 -0700 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Sep 28 02:01:24 2016 +0000 |
tree | f5f4c26dea83666c0428b66e5e2d29dcf8a0a749 | |
parent | ffb1c6793ff67ae0d1dada4220bb8fc8f564f05e [diff] |
distro: Move location of distro conf override files Ideally, a machine layer can be used with any distro. openbmc-phosphor.conf allows defaults to be overriden by machine layers through an include file at conf/distro/include/${MACHINE}.inc. If this pattern is used by other distros, the per-machine overrides will be picked up by all distros. Instead, move the override file to conf/distro/include/openbmc-phosphor/${MACHINE}.inc so these overrides will only apply when the openbmc-phosphor distro is used. Change-Id: Id42f87b5e13839a960fd84f348b46c9a31a7c801 Signed-off-by: Rick Altherr <raltherr@google.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