From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mx1.pokylinux.org (Postfix) with ESMTP id 63A8F4C80FA8 for ; Thu, 16 Dec 2010 09:50:17 -0600 (CST) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id oBGFpVA9031124; Thu, 16 Dec 2010 15:51:31 GMT X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net 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 htavCms3QZKS; Thu, 16 Dec 2010 15:51:31 +0000 (GMT) Received: from [192.168.1.42] (tim [93.97.173.237]) (authenticated bits=0) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id oBGFpOMw031069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Dec 2010 15:51:26 GMT From: Richard Purdie To: Lianhao Lu In-Reply-To: <39f0fc7689c9ddf429a5a2fd4fad7e74c0d98bb6.1292464057.git.lianhao.lu@intel.com> References: <39f0fc7689c9ddf429a5a2fd4fad7e74c0d98bb6.1292464057.git.lianhao.lu@intel.com> Date: Thu, 16 Dec 2010 15:49:56 +0000 Message-ID: <1292514596.26558.4040.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Cc: poky@yoctoproject.org Subject: Re: [PATCH 1/1] meta-environment: Added package of meta-environment-${TARGET_ARCH} for environment files. X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2010 15:50:17 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi Lianhao, On Thu, 2010-12-16 at 09:40 +0800, Lianhao Lu wrote: > [BUGID #565] Fixing bug #565, added package of > meta-environment-${TARGET_ARCH} for environment files used by > cross-canadian toolchain. > > Also corrected the situation of empty config site file for target. > > Signed-off-by: Lianhao Lu > --- > meta/classes/toolchain-scripts.bbclass | 32 ++++++++++ > meta/recipes-core/meta/meta-environment.bb | 75 ++++++++++++++++++++++++ > meta/recipes-core/tasks/task-cross-canadian.bb | 1 + > 3 files changed, 108 insertions(+), 0 deletions(-) > create mode 100644 meta/recipes-core/meta/meta-environment.bb This recipe looks complex and seems to include a lot of cross-canadian.bbclass. Would it be possible to inherit that class instead and try and keep the recipe simpler? You can always drop the "meta" inherit. I'm worried about the amount of code duplication here. Cheers, Richard