summaryrefslogtreecommitdiffstats
path: root/op-build-env
diff options
context:
space:
mode:
Diffstat (limited to 'op-build-env')
-rwxr-xr-xop-build-env6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-build-env b/op-build-env
index 9cd5cb5c..e6ca40ef 100755
--- a/op-build-env
+++ b/op-build-env
@@ -5,6 +5,12 @@ 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
export BR2_DL_DIR=${__PWD}/dl
OpenPOWER on IntegriCloud