From patchwork Wed Feb 27 09:33:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Esben Haabendal X-Patchwork-Id: 223564 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id 59D282C007B for ; Wed, 27 Feb 2013 20:34:05 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 29BCD3F9CB for ; Wed, 27 Feb 2013 10:34:03 +0100 (CET) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail01.prevas.se (mail01.prevas.se [62.95.78.3]) by hugin.dotsrc.org (Postfix) with ESMTPS id 4D46F3F9CB for ; Wed, 27 Feb 2013 10:34:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=1914; q=dns/txt; s=ironport1; t=1361957641; x=1393493641; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version; bh=8xaubjgK5fzuGXt41D5rH0mECA7Hid4HEcDT517UCsE=; b=1PzPjU5aKtkGedAVkd9qyIQajDVJuM6oxGYKfaGIxh+Svsz4iE+y+ysD n9MeNn5TNj9/DfFBJb+5JnaAMHx6UxzmnzNPuQXku/v/jSW9QFdVWLDdx woazkbj+6w6jqeKJW6dXSRURGfs0/wp+ys0iDr9fnlg40GSu2T+rWreTK U=; X-IronPort-AV: E=Sophos;i="4.84,746,1355094000"; d="scan'208";a="2826027" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport1.prevas.se with ESMTP/TLS/AES128-SHA; 27 Feb 2013 10:34:00 +0100 Received: from dev.prevas.dk (172.16.10.60) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server (TLS) id 14.2.342.3; Wed, 27 Feb 2013 10:34:00 +0100 Received: from arh128 (0x55532124.adsl.cybercity.dk [85.83.33.36]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eha) by dev.prevas.dk (Postfix) with ESMTPSA id 5DA6980812; Wed, 27 Feb 2013 10:34:00 +0100 (CET) Received: by arh128 (Postfix, from userid 1000) id AEF69802A1; Wed, 27 Feb 2013 10:33:59 +0100 (CET) From: Esben Haabendal To: Yann Diorcet Subject: Re: [PATCH 04/18] Add BUILD_* overrides References: <1350833261-8401-1-git-send-email-diorcet.yann@gmail.com> <1350833261-8401-4-git-send-email-diorcet.yann@gmail.com> Date: Wed, 27 Feb 2013 10:33:59 +0100 In-Reply-To: <1350833261-8401-4-git-send-email-diorcet.yann@gmail.com> (Yann Diorcet's message of "Sun, 21 Oct 2012 17:27:27 +0200") Message-ID: <871uc22j94.fsf@arh128.prevas.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Cc: Yann Diorcet , dev@oe-lite.org X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org Yann Diorcet writes: > From: Yann Diorcet > > Add missing overrides > --- > conf/overrides.conf | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/conf/overrides.conf b/conf/overrides.conf > index 28329e6..3d48c6a 100644 > --- a/conf/overrides.conf > +++ b/conf/overrides.conf > @@ -3,6 +3,7 @@ OVERRIDES = "local\ > :DISTRO_${DISTRO}\ > :TARGET_CPU_FAMILIES:TARGET_CPU_${TARGET_CPU}:TARGET_OS_${TARGET_OS}\ > :HOST_CPU_FAMILIES:HOST_CPU_${HOST_CPU}:HOST_OS_${HOST_OS}\ > +:BUILD_CPU_FAMILIES:BUILD_CPU_${BUILD_CPU}:BUILD_OS_${BUILD_OS}\ > :${RECIPE_TYPE}\ > " > #TARGET_OVERRIDES = ":TARGET_CPU_${TARGET_CPU}:TARGET_OS_${TARGET_OS}" Hi Yann I don't know if you still have a need for this, but as it anyways seems like the right thing to do (providing BUILD overrides just as HOST and TARGET), I have made a similar commit on the master branch: It will go into OE-lite/core 3.3.0. /Esben diff --git a/conf/overrides.conf b/conf/overrides.conf index 40610f2..a927a00 100644 --- a/conf/overrides.conf +++ b/conf/overrides.conf @@ -3,6 +3,7 @@ OVERRIDES = "local\ :DISTRO_${DISTRO}\ :__TARGET__:TARGET_CPU_${TARGET_CPU}:TARGET_OS_${TARGET_OS}\ :__HOST__:HOST_CPU_${HOST_CPU}:HOST_OS_${HOST_OS}\ +:__BUILD__:BUILD_CPU_${BUILD_CPU}:BUILD_OS_${BUILD_OS}\ :${RECIPE_TYPE}\ " #TARGET_OVERRIDES = ":TARGET_CPU_${TARGET_CPU}:TARGET_OS_${TARGET_OS}" @@ -34,7 +35,7 @@ def late_overrides_fixup(d): if (d.get("TARGET_ARCH") != d.get("MACHINE_ARCH") and "MACHINE_${MACHINE}" in overrides): overrides.remove("MACHINE_${MACHINE}") - for type in ('HOST', 'TARGET'): + for type in ('BUILD', 'HOST', 'TARGET'): real_type = d.get(type + '_TYPE').upper() os = d.get(type + '_OS') families = d.get(real_type + '_CPU_FAMILIES')