blob: a1b969d0bb1916065198d925eb9e3c8146010c88 [file] [log] [blame]
Patrick Williams35aa29f2014-07-03 04:09:37 -05001=== Building an image ===
2
3git clone --recursive git@github.com:open-power/op-build.git
Dan375638d2014-11-24 09:27:07 -06004cd op-build
Patrick Williams35aa29f2014-07-03 04:09:37 -05005. op-build-env
6op-build palmetto_defconfig && op-build
Brian Silverdd815de2014-07-11 10:22:08 -05007
8Building on *64-bit* Ubuntu/Debian systems
9==========================================
10
111. Install Ubuntu 14.04 or Debian 7.5 64-bit.
122. Install the packages necessary for the build:
Adriana Kobylak1fbf7882015-04-27 13:22:36 -050013> sudo apt-get install cscope ctags libz-dev libexpat-dev \
Jeremy Kerrcaf30d42015-09-17 17:29:11 +080014 python language-pack-en texinfo \
Adriana Kobylak1fbf7882015-04-27 13:22:36 -050015 build-essential g++ git bison flex unzip \
Joel Stanley250ed722015-02-02 14:33:15 +103016 libxml-simple-perl libxml-sax-perl libxml2-dev libxml2-utils xsltproc
Jeremy Kerrbf821102014-08-20 12:48:54 +0800173. Continue with the clone, environment setup, and build as noted above.
Brian Silverdd815de2014-07-11 10:22:08 -050018
19Building on *64-bit* Fedora systems
20==========================================
21
221. Install Fedora 20 64-bit.
232. Install the packages necessary for the build:
Joel Stanleyeca800f2016-02-22 12:05:14 +103024> sudo dnf install vim gcc-c++ flex bison git ctags cscope expat-devel patch \
25 zlib-devel zlib-static make unzip tar bzip2 python wget cpio \
26 bc xz findutils perl-XML-Simple perl-Thread-Queue perl-Env \
27 perl-XML-LibXML perl-Digest-SHA1 perl-bignum libxml2-devel \
28 libxslt hostname
293. Continue with the clone, environment setup, and build as noted above.