blob: 2537c4fdfc1e485f6cf829d630782ae2739045a2 [file] [log] [blame]
Patrick Williamse94080b2014-06-17 20:09:31 -05001#!/bin/bash
2__PWD=`pwd`
3
Stephen Cpreke7254c72015-02-19 14:33:38 -06004if [ -e ./customrc ]; then
5 source ./customrc
6fi
7
Joel Stanley345c74d2017-02-13 11:31:50 +10308if [ ! -e buildroot/Makefile ]; then
9 echo "Please make sure you've checked out the buildroot submodule"
10 echo " git submodule init && git submodule update"
11 return -1
12fi
13
Patrick Williamse94080b2014-06-17 20:09:31 -050014export BR2_EXTERNAL=${__PWD}/openpower
15export BR2_DL_DIR=${__PWD}/dl
16
Dan HorĂ¡ke8dbeaf2019-12-19 16:06:56 +010017export LANG=en_US.UTF-8
18
KennethWilke369158a2016-03-03 15:00:37 -060019op-build () {
20 make --directory=${__PWD}/buildroot O=${__PWD}/output $@
21}