commit | 04b910c48901656f07980a32bef416884d4eccb7 | [log] [tgz] |
---|---|---|
author | Matthew Barth <msbarth@us.ibm.com> | Wed Nov 16 09:57:39 2016 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Nov 17 22:47:00 2016 +0000 |
tree | f0642aafaccd84f4420538c9a80bb6778af01eb3 | |
parent | f1275cc09fdedee42728bb8e819a585efec7d98f [diff] |
Create bbclass for python in autotools recipes Add the base requirements for building and installing python scripts within a package using autotools. Change-Id: Ia6f6a819a80bc346153ff5c53cefad41d973d953 Signed-off-by: Matthew Barth <msbarth@us.ibm.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