summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2014-02-19 16:33:50 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-19 21:55:46 +0100
commit0721c7133022d270e997c0c42ef044b48c5c5943 (patch)
tree88e3f1c134941d04ea21bf78eb69bddcc311c3ee
parentaac3d2b402fd2b8b91f125cf9314f4805b88f72a (diff)
downloadbuildroot-0721c7133022d270e997c0c42ef044b48c5c5943.tar.gz
buildroot-0721c7133022d270e997c0c42ef044b48c5c5943.zip
infra: Change BR2_HOST_NEEDS_JAVA name
Change BR2_HOST_NEEDS_JAVA to BR2_NEEDS_HOST_JAVA as it makes more sense. The host doesn't need Java but Buildroot needs the host to have Java in order to build the package that select this option. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Config.in2
-rwxr-xr-xsupport/dependencies/dependencies.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Config.in b/Config.in
index 8afd156cbc..c5c8aa822c 100644
--- a/Config.in
+++ b/Config.in
@@ -20,7 +20,7 @@ config BR2_EXTERNAL
# Hidden boolean selected by packages in need of Java in order to build
# (example: xbmc)
-config BR2_HOST_NEEDS_JAVA
+config BR2_NEEDS_HOST_JAVA
bool
# Hidden boolean selected by pre-built packages for x86, when they
diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index a965c6882a..a8261b3b06 100755
--- a/support/dependencies/dependencies.sh
+++ b/support/dependencies/dependencies.sh
@@ -191,7 +191,7 @@ if grep -q ^BR2_PACKAGE_CLASSPATH=y $BR2_CONFIG ; then
done
fi
-if grep -q ^BR2_HOST_NEEDS_JAVA=y $BR2_CONFIG ; then
+if grep -q ^BR2_NEEDS_HOST_JAVA=y $BR2_CONFIG ; then
if ! which java > /dev/null ; then
echo >&2
echo "You must install 'java' on your build machine" >&2
OpenPOWER on IntegriCloud