Return-Path: Received: from mail-qg0-f54.google.com (mail-qg0-f54.google.com [209.85.192.54]) by mail.openembedded.org (Postfix) with ESMTP id 549D973F4E for ; Tue, 12 May 2015 20:59:45 +0000 (UTC) Received: by qgeb100 with SMTP id b100so11346281qge.3 for ; Tue, 12 May 2015 13:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:organization; bh=vYzpwz1lPy8vxyvzRcuHJPvudvHWz9DJUlhW4vsQFCQ=; b=xV42hLgsbMrYv7kkrlzDn5cBwg5z4PYiKzC4fZHxnLqdgWGTrY+y/qjoNq8Vk/Lt5W FzsbyXj+4cg3ud1wx4Bs/2zPzUeU6Oc1rnf2fXHbj67FWSXrg7Q+eaRo6EuRzHlUDDDJ yQnBLGPtAq7i0z7DxxNwlpLUprdUBBQY5U8Wlgn90NDEy7eH6ZhIsW4R1Xghx7ZGGYQV W9RQ/PgkT8caX6kn+uJEkFMIbsKRM0QaWP8hxPZdGMgOKSIODXZry43u656m+jM8VWIl 6BiouS81uxETQy4n8a48khWgFN8JWmJtMVhvlYP7YConIjvDV/A5/3TQreW9RVY/PoOk Irfw== X-Received: by 10.140.201.4 with SMTP id w4mr23657416qha.11.1431464387156; Tue, 12 May 2015 13:59:47 -0700 (PDT) Received: from centrium.lab.ossystems.com.br ([177.100.224.72]) by mx.google.com with ESMTPSA id s91sm14195551qge.44.2015.05.12.13.59.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 May 2015 13:59:46 -0700 (PDT) Sender: Mario Domenech Goulart From: Mario Domenech Goulart To: openembedded-devel@lists.openembedded.org Date: Tue, 12 May 2015 18:01:06 -0300 Message-Id: <1431464468-20750-1-git-send-email-mario@ossystems.com.br> X-Mailer: git-send-email 2.1.4 Organization: O.S. Systems Software LTDA. Cc: Mario Domenech Goulart Subject: [meta-java][PATCH 1/3] Don't depend on a hardcoded compiler X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2015 20:59:48 -0000 The recipes below depended on a hardcoded native compile (ecj-initial-native). Since we may use another native compiler to build them, we set the dependency in virtual/javac-native instead. * cacao * classpath-native * jamvm Signed-off-by: Mario Domenech Goulart --- recipes-core/cacao/cacao_1.6.1.bb | 2 +- recipes-core/classpath/classpath-native_0.99.bb | 2 +- recipes-core/jamvm/jamvm.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb index 65aaf93..14ff019 100644 --- a/recipes-core/cacao/cacao_1.6.1.bb +++ b/recipes-core/cacao/cacao_1.6.1.bb @@ -4,7 +4,7 @@ LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" SECTION = "interpreters" -DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native bdwgc-native" +DEPENDS_class-native = "zlib-native libtool-native virtual/javac-native fastjar-native classpath-native bdwgc-native" PROVIDES_class-native = "virtual/java-native" DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc" diff --git a/recipes-core/classpath/classpath-native_0.99.bb b/recipes-core/classpath/classpath-native_0.99.bb index 02951b9..cf297d9 100644 --- a/recipes-core/classpath/classpath-native_0.99.bb +++ b/recipes-core/classpath/classpath-native_0.99.bb @@ -1,7 +1,7 @@ require classpath-native.inc LIC_FILES_CHKSUM = "file://COPYING;md5=af0004801732bc4b20d90f351cf80510" -DEPENDS += "ecj-initial-native" +DEPENDS += "virtual/javac-native" PR = "${INC_PR}.0" diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc index 5893cbc..bed1c5d 100644 --- a/recipes-core/jamvm/jamvm.inc +++ b/recipes-core/jamvm/jamvm.inc @@ -4,7 +4,7 @@ LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" DEPENDS = "zlib classpath virtual/javac-native libffi" -DEPENDS_virtclass-native = "zlib-native classpath-native ecj-initial-native libffi-native" +DEPENDS_virtclass-native = "zlib-native classpath-native virtual/javac-native libffi-native" RDEPENDS_${PN} = "classpath" RDEPENDS_${PN}_virtclass-native = "" -- 2.1.4