summaryrefslogtreecommitdiffstats
path: root/tools/build/multigen
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/multigen')
-rwxr-xr-xtools/build/multigen6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/build/multigen b/tools/build/multigen
index 710f89f2ae..9ad143b38b 100755
--- a/tools/build/multigen
+++ b/tools/build/multigen
@@ -98,6 +98,12 @@ if test $config -eq 0 && test $custom -eq 0; then
exit 1
fi
+if test ! -r $rtems_srcdir/VERSION; then
+ echo "Can't find rtems"
+ echo "Check value passed to --rtems=<DIR>"
+ exit 1
+fi
+
if test x$target != x ;then
target_prefix=$target-
fi