commit | 62f822af40d2c10388635495d69d08894a86ceae | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Mon Aug 15 15:26:38 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Aug 16 00:41:32 2016 +0000 |
tree | 131464701193a7727611f3cd181a71e59066b591 | |
parent | 39755645e40bc0590da74f5461b372ccec55de30 [diff] |
debug-tarball: Add busybox to install list. By adding busybox to the install list, we ensure its dependencies are compiled. Since busybox provides /bin/sh and all RPMs depend on /bin/sh, we need this anyhow. Fixes openbmc/openbmc#506. Change-Id: Iaa41c5a05a508a745c33d14e9e6739b2c44be64a 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