infra: Change BR2_HOST_NEEDS_JAVA name
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Wed, 19 Feb 2014 15:33:50 +0000 (16:33 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 19 Feb 2014 20:55:46 +0000 (21:55 +0100)
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>
Config.in
support/dependencies/dependencies.sh

index 8afd156cbc31b200d287fbe0c9de74916c5c57a4..c5c8aa822c589550a384e39e1b2e4a9c3a6cd6b9 100644 (file)
--- 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
index a965c6882a3bf9bf286de1b2309afd4863e5cb33..a8261b3b06040dbcecfecf077bede62cd79da9d8 100755 (executable)
@@ -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