aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/common')
-rw-r--r--jjb/common/include-agl-header.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/common/include-agl-header.sh b/jjb/common/include-agl-header.sh
index 946b2e92..091f9dd8 100644
--- a/jjb/common/include-agl-header.sh
+++ b/jjb/common/include-agl-header.sh
@@ -122,6 +122,16 @@ eval TARGETIMAGEnogfx="$TARGETIMAGEnogfx"
# The 'real' machine name
export TARGETMACHINE=${MACHINE}
+# bail out if we're not the 'BUILDONLY' machine
+if test -n "${BUILDONLY}" ; then
+ if test x"ignore" != x"${BUILDONLY}" ; then
+ if test x"${MACHINE}" != x"${BUILDONLY}" ; then
+ echo "Skipping ${MACHINE} as BUILDONLY is ${BUILDONLY}."
+ exit 1
+ fi
+ fi
+fi
+
# The exceptions
if $NOGFX; then
export TARGETIMAGE=${TARGETIMAGEnogfx}