From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 625C077BDA for ; Thu, 30 Mar 2017 08:53:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.15.2/8.15.2/Debian-3) with ESMTP id v2U8rgbq025696; Thu, 30 Mar 2017 09:53:42 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yiwcnQ9yLzZZ; Thu, 30 Mar 2017 09:53:42 +0100 (BST) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v2U8rcHH025692 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 30 Mar 2017 09:53:39 +0100 Message-ID: <1490864018.13980.340.camel@linuxfoundation.org> From: Richard Purdie To: liu.ming50@gmail.com, openembedded-core@lists.openembedded.org Date: Thu, 30 Mar 2017 09:53:38 +0100 In-Reply-To: <1490860656-27448-1-git-send-email-liu.ming50@gmail.com> References: <1490860656-27448-1-git-send-email-liu.ming50@gmail.com> X-Mailer: Evolution 3.18.5.2-0ubuntu3.1 Mime-Version: 1.0 Cc: Ming Liu Subject: Re: [PATCH] meta: define REAL_MULTIMACH_TARGET_SYS/SDKTARGETSYSROOT in bitbake.conf X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2017 08:53:52 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Thu, 2017-03-30 at 09:57 +0200, liu.ming50@gmail.com wrote: > From: Ming Liu > > REAL_MULTIMACH_TARGET_SYS is being defined and referred in several > recipes, which is redundant and not easy to be overriden, and > SDKTARGETSYSROOT is also defined in two recipes. > > So move their definitions to bitbake.conf. > > Signed-off-by: Ming Liu > --- >  meta/classes/populate_sdk_base.bbclass     | 6 ------ >  meta/classes/toolchain-scripts.bbclass     | 3 --- >  meta/conf/bitbake.conf                     | 2 ++ >  meta/recipes-core/meta/meta-environment.bb | 3 --- >  4 files changed, 2 insertions(+), 12 deletions(-) To be honest, REAL_MULTIMACH_TARGET_SYS is a hack and I'd prefer to find ways to remove the need for it (and perhaps the other MULTIMACH* variables). I'd therefore prefer not to move this to bitbake.conf which would give the impression its something we want to encourage (we don't). Cheers, Richard