summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/make_barebox_env3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/make_barebox_env b/tests/make_barebox_env
index 6c0ff97f3..40f6192b5 100755
--- a/tests/make_barebox_env
+++ b/tests/make_barebox_env
@@ -1,5 +1,8 @@
#!/bin/bash
+ptxd_source_kconfig "${PTXDIST_BOARDSETUP}" ||
+ptxd_bailout "Please run 'ptxdist boardsetup' first!"
+
BAREBOX_ENV="${1}"
ENVTMPDIR="$(mktemp -d "${PTXDIST_TEMPDIR}/barebox_env.XXXXXX")" ||
ptxd_bailout "mktemp failed."