projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae10e33
)
dependencies.sh: check for java tools if classpath is enabled
author
Peter Korsgaard
<jacmet@sunsite.dk>
Tue, 4 Dec 2012 18:28:31 +0000
(10:28 -0800)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Tue, 4 Dec 2012 18:28:31 +0000
(10:28 -0800)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
support/dependencies/dependencies.sh
patch
|
blob
|
history
diff --git
a/support/dependencies/dependencies.sh
b/support/dependencies/dependencies.sh
index 9f0f6a9fb5aacc96d24f10e0e397be0122aac97e..1b79b2395c9c5216b258ae1b1a7d994e2ba2c1b2 100755
(executable)
--- a/
support/dependencies/dependencies.sh
+++ b/
support/dependencies/dependencies.sh
@@
-158,3
+158,11
@@
if grep ^BR2_TOOLCHAIN_BUILDROOT=y $CONFIG_FILE > /dev/null && \
exit 1 ;
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