commit | 7216f421cf5f5541169427446cf8ae0d2b17b9c8 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Oct 06 22:00:02 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Oct 10 21:41:18 2016 -0500 |
tree | 0909ebb1f1446f4b8c28b1b1fa4fd37aedce4205 | |
parent | 49956fea3251ac155efa9861548d6884ba682975 [diff] |
Change obmc-phosphor-fan to use fanctl A new fanctl module is added in skeleton to replace pyfanctl. fanctl is written in C instead of python. Partially resolves openbmc/openbmc#93 Change-Id: I404176f3d526027abac089a4c168240ba6ae69b1 Signed-off-by: Yi Li <adamliyi@msn.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