Skip to contentSkip to conversation

infra: Change BR2_HOST_NEEDS_JAVA name

PATCH New Maxime Hadjinlian 2 participants 2 messages Feb 19, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Config.in                            | 2 +-
 support/dependencies/dependencies.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Config.in +1 -1
index 8afd156..c5c8aa8 100644
@@ -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
support/dependencies/dependencies.sh +1 -1
index a965c68..a8261b3 100755
@@ -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
Signature · 1 line
1.8.5.3
#1 lore raw

PATCH 1/1 infra: Change BR2_HOST_NEEDS_JAVA name

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

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.

Quoted 5 lines
---
 Config.in                            | 2 +-
 support/dependencies/dependencies.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard