blob: 8db36bb7c93b8b3c83702f9783ea89e4c5b45433 [file] [log] [blame]
#!/bin/bash
__PWD=`pwd`
if [ -e ./customrc ]; then
source ./customrc
fi
if [ ! -e buildroot/Makefile ]; then
echo "Please make sure you've checked out the buildroot submodule"
echo " git submodule init && git submodule update"
return -1
fi
export BR2_EXTERNAL=${__PWD}/openpower
if [ -z "${BR2_DL_DIR-}" ]; then export BR2_DL_DIR=${__PWD}/dl; fi
export LANG=en_US.UTF-8
op-build () {
make --directory=${__PWD}/buildroot O=${__PWD}/output $@
}