Patrick Williams | 35aa29f | 2014-07-03 04:09:37 -0500 | [diff] [blame] | 1 | === Building an image === |
| 2 | |
| 3 | git clone --recursive git@github.com:open-power/op-build.git |
Dan | 375638d | 2014-11-24 09:27:07 -0600 | [diff] [blame] | 4 | cd op-build |
Patrick Williams | 35aa29f | 2014-07-03 04:09:37 -0500 | [diff] [blame] | 5 | . op-build-env |
| 6 | op-build palmetto_defconfig && op-build |
Brian Silver | dd815de | 2014-07-11 10:22:08 -0500 | [diff] [blame] | 7 | |
| 8 | Building on *64-bit* Ubuntu/Debian systems |
| 9 | ========================================== |
| 10 | |
| 11 | 1. Install Ubuntu 14.04 or Debian 7.5 64-bit. |
| 12 | 2. Install the packages necessary for the build: |
Adriana Kobylak | 1fbf788 | 2015-04-27 13:22:36 -0500 | [diff] [blame] | 13 | > sudo apt-get install cscope ctags libz-dev libexpat-dev \ |
Jeremy Kerr | caf30d4 | 2015-09-17 17:29:11 +0800 | [diff] [blame] | 14 | python language-pack-en texinfo \ |
Adriana Kobylak | 1fbf788 | 2015-04-27 13:22:36 -0500 | [diff] [blame] | 15 | build-essential g++ git bison flex unzip \ |
Joel Stanley | 250ed72 | 2015-02-02 14:33:15 +1030 | [diff] [blame] | 16 | libxml-simple-perl libxml-sax-perl libxml2-dev libxml2-utils xsltproc |
Jeremy Kerr | bf82110 | 2014-08-20 12:48:54 +0800 | [diff] [blame] | 17 | 3. Continue with the clone, environment setup, and build as noted above. |
Brian Silver | dd815de | 2014-07-11 10:22:08 -0500 | [diff] [blame] | 18 | |
| 19 | Building on *64-bit* Fedora systems |
| 20 | ========================================== |
| 21 | |
| 22 | 1. Install Fedora 20 64-bit. |
| 23 | 2. Install the packages necessary for the build: |
Joel Stanley | eca800f | 2016-02-22 12:05:14 +1030 | [diff] [blame^] | 24 | > 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 |
| 29 | 3. Continue with the clone, environment setup, and build as noted above. |