浏览代码

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>
Maxime Hadjinlian 11 年之前
父节点
当前提交
0721c71330
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Config.in
  2. 1 1
      support/dependencies/dependencies.sh

+ 1 - 1
Config.in

@@ -20,7 +20,7 @@ config BR2_EXTERNAL
 
 
 # Hidden boolean selected by packages in need of Java in order to build
 # Hidden boolean selected by packages in need of Java in order to build
 # (example: xbmc)
 # (example: xbmc)
-config BR2_HOST_NEEDS_JAVA
+config BR2_NEEDS_HOST_JAVA
 	bool
 	bool
 
 
 # Hidden boolean selected by pre-built packages for x86, when they
 # Hidden boolean selected by pre-built packages for x86, when they

+ 1 - 1
support/dependencies/dependencies.sh

@@ -191,7 +191,7 @@ if grep -q ^BR2_PACKAGE_CLASSPATH=y $BR2_CONFIG ; then
 	done
 	done
 fi
 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
 	if ! which java > /dev/null ; then
 		echo >&2
 		echo >&2
 		echo "You must install 'java' on your build machine" >&2
 		echo "You must install 'java' on your build machine" >&2