commit | e9ba2898e361e5fa00b4c2bcbabf04479cc4782c | [log] [tgz] |
---|---|---|
author | Robert Lippert <rlippert@google.com> | Tue Jan 10 15:22:27 2017 -0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Sat Jan 14 23:47:45 2017 +0000 |
tree | 8029f2f862b3adeabc2223b09a2710ccf08175eb | |
parent | 2caa74e6c76954a1ce8e9a2d56b5a9401285d6ee [diff] |
kernel: add high res timers to kernel config High res timers are useful in general, particularly for userspace apps that call usleep(). Change-Id: I15be1b20141423650ed7f049a4b9ea53160260e3 Signed-off-by: Robert Lippert <rlippert@google.com> 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