mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
dependencies.sh: check for java tools if classpath is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -158,3 +158,11 @@ if grep ^BR2_TOOLCHAIN_BUILDROOT=y $CONFIG_FILE > /dev/null && \
|
|||||||
exit 1 ;
|
exit 1 ;
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
if grep -q ^BR2_PACKAGE_CLASSPATH=y $CONFIG_FILE ; then
|
||||||
|
for prog in java javac jar; do
|
||||||
|
if ! which $prog > /dev/null ; then
|
||||||
|
/bin/echo -e "\nYou must install '$prog' on your build machine\n" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user