commit | 7216872c640f8c8209cdd5297b0302cc58e0b3ea | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Jul 20 10:39:08 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jul 20 13:25:44 2016 -0500 |
tree | 3be86c04f24ed6e00ad6032e21deaab58f68e778 | |
parent | 3d1dee0534bcb131dd9127952706dfa61df6cdad [diff] |
Revert "Force OLDEST_KERNEL to 4.4.0" Setting the OLDEST_KERNEL also impacts the SDK and causes all SDK programs to also require the same kernel level. If the SDK is ran on a machine with an older kernel it gives the message: FATAL: kernel too old The current OLDEST_KERNEL from Yocto is the same as the RHEL6 kernel and we have a number of developers using that distro. Therefore, we will just revert this change and keep with the base Yocto level. Setting the OLDEST_KERNEL to 4.4 only saved us around 7k of space anyhow, so it does not seem worth the effort to try to figure out how separate SDK vs image values for this variable. This reverts commit d011f6882aeebe627950e8ed4fe5a9b5b9806e26. Change-Id: Ic78b503ac9027c62ce2c45161717f1c0d4fdad03 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