From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id A0A5B6E630 for ; Thu, 21 Apr 2016 04:49:47 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id u3L4nlaP021583 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 20 Apr 2016 21:49:47 -0700 (PDT) Received: from [128.224.163.143] (128.224.163.143) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.248.2; Wed, 20 Apr 2016 21:49:46 -0700 To: References: <39560f98b94a3d0d24c44c7ff139aa1c605a8498.1459917622.git.dengke.du@windriver.com> <57049583.8060608@windriver.com> <1459932124.5713.1.camel@linux.intel.com> From: "dengke.du@windriver.com" Message-ID: <57185BEC.9020406@windriver.com> Date: Thu, 21 Apr 2016 12:49:48 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1459932124.5713.1.camel@linux.intel.com> Subject: Re: [PATCH 1/1] coreutils: correct the case for class-native 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, 21 Apr 2016 04:49:49 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit But the nativesdk also need the do_install_append function to slove the many warnings. //dengke On 2016年04月06日 16:42, Joshua G Lock wrote: > On Wed, 2016-04-06 at 12:50 +0800, Robert Yang wrote: >> On 04/06/2016 12:45 PM, Dengke Du wrote: >>> The function of do_install_append_class-native for class-native >>> had alread exist,so exclude the class-native in function >>> do_install_append. >>> >>> Signed-off-by: Dengke Du >>> --- >>> meta/recipes-core/coreutils/coreutils_8.25.bb | 4 ++++ >>> 1 file changed, 4 insertions(+) >>> >>> diff --git a/meta/recipes-core/coreutils/coreutils_8.25.bb >>> b/meta/recipes-core/coreutils/coreutils_8.25.bb >>> index 419a693..e8e269a 100644 >>> --- a/meta/recipes-core/coreutils/coreutils_8.25.bb >>> +++ b/meta/recipes-core/coreutils/coreutils_8.25.bb >>> @@ -70,6 +70,10 @@ do_compile_prepend () { >>> } >>> >>> do_install_append() { >>> + if [ "${CLASSOVERRIDE}" = "class-native" ]; then >>> + return >>> + fi >>> + > If the do_install_append is only valid for the target it'd be cleaner > to use a target-specific override i.e. > > do_install_append_class-target () { > } > > Thanks, > > Joshua