From patchwork Wed Feb 19 15:33:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 321954 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id E819D2C00B7 for ; Thu, 20 Feb 2014 02:34:10 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1671B87001; Wed, 19 Feb 2014 15:34:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uDxbR4qJleRW; Wed, 19 Feb 2014 15:34:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B480A86967; Wed, 19 Feb 2014 15:34:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 344311C210A for ; Wed, 19 Feb 2014 15:34:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 40B7F32C2F for ; Wed, 19 Feb 2014 15:34:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VjWqHm3yEQjs for ; Wed, 19 Feb 2014 15:34:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by silver.osuosl.org (Postfix) with ESMTPS id 4F9B9328B3 for ; Wed, 19 Feb 2014 15:34:06 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id l18so4188059wgh.4 for ; Wed, 19 Feb 2014 07:34:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=aGBJfuJbj2PGf6E2qxYUsKQHwnnLR0K49gUZsC3uvyk=; b=jcPJPCauiJfV8I0bSVsTqH4CDFXrm5K/Je+WAiVGjvLtZlra+rHpJrcd8sCZLlteYM 3eAYad665L1AC6MwKo2WaKoIbUh/UqcVfNQD4d0Z6ykCF4IDhH7uksgt6NaQ+jLOQwWd 2GfHd/G1KegesbVxGG6cA1TTtK2Ep2tF4TLj6+rKlXl+8KQTI3RwvXJTzWB5181KvY+g n6zy5u1iAoP7SW+Avzl54wzEV2hGJ2gVP8b6dd+htzt/7AnouBxiE9Pxa0Nmv3pLhbSA v2p5S1wASRbn2etvzJuS600AOuou0vP0FKjj69J/PZLnC4ovIkDEmS+RLiz2I0VbJTV9 xNVQ== X-Received: by 10.195.12.200 with SMTP id es8mr2609236wjd.77.1392824044729; Wed, 19 Feb 2014 07:34:04 -0800 (PST) Received: from localhost (11-96-190-109.dsl.ovh.fr. [109.190.96.11]) by mx.google.com with ESMTPSA id v6sm2699911wif.0.2014.02.19.07.34.03 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 19 Feb 2014 07:34:04 -0800 (PST) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Wed, 19 Feb 2014 16:33:50 +0100 Message-Id: <1392824030-3871-1-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 1.8.5.3 Subject: [Buildroot] [PATCH] infra: Change BR2_HOST_NEEDS_JAVA name X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 --- Config.in | 2 +- support/dependencies/dependencies.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Config.in b/Config.in index 8afd156..c5c8aa8 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 a965c68..a8261b3 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