Return-Path: Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by arago-project.org (Postfix) with ESMTPS id 0C5475298A for ; Mon, 8 Aug 2016 15:09:33 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id u78F4sTQ014992 for ; Mon, 8 Aug 2016 10:04:54 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u78F9WII002694 for ; Mon, 8 Aug 2016 10:09:32 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Mon, 8 Aug 2016 10:09:32 -0500 Received: from [10.218.109.201] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u78F9WQh016131; Mon, 8 Aug 2016 10:09:32 -0500 To: Denys Dmytriyenko References: <1470663570-5175-1-git-send-email-j-stiffler@ti.com> <20160808144445.GG18333@edge> From: Jacob Stiffler Message-ID: Date: Mon, 8 Aug 2016 11:09:32 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20160808144445.GG18333@edge> Cc: meta-arago@arago-project.org Subject: Re: [PATCH 1/3] linux: copy-defconfig: move create_srcipk task after configure X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 15:09:34 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 8/8/2016 10:44 AM, Denys Dmytriyenko wrote: > Didn't I already submit this last week when Sam reported it? I don't recall seeing it. I just checked patchwork, but I do not see it there either. > > On Mon, Aug 08, 2016 at 09:39:28AM -0400, Jacob Stiffler wrote: >> * With sstate support for the sourceipk class, create_srcipk can no >> longer be successfully called within another task. >> * Move the create_srcipk task after configure so that the build >> defconfig is included in the src package. >> >> Signed-off-by: Jacob Stiffler >> --- >> meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc | 7 +++++-- >> .../recipes-kernel/linux/linux-ti-staging-rt_%.bbappend | 2 +- >> .../recipes-kernel/linux/linux-ti-staging-systest_%.bbappend | 2 +- >> meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend | 2 +- >> 4 files changed, 8 insertions(+), 5 deletions(-) >> >> diff --git a/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc b/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc >> index b9db1ee..46de4a3 100644 >> --- a/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc >> +++ b/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc >> @@ -5,7 +5,10 @@ CONFIG_NAME ?= "tisdk_${MACHINE}_defconfig" >> # the function to build the sourceipk again. This is done as a >> # do_compile_prepend so that we can pick up any changes to the >> # defconfig thay may have been done by the sanitizer code. >> -do_compile_prepend() { >> +do_configure_append() { >> cp ${B}/.config ${S}/arch/arm/configs/${CONFIG_NAME} >> - sourceipk_do_create_srcipk >> } >> + >> +# Move create_srcipk task so that the release defconfig is included. >> +deltask do_create_srcipk >> +addtask create_srcipk after do_configure before do_compile >> diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend >> index 7c90ac5..a3241ab 100644 >> --- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend >> +++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend >> @@ -1,4 +1,4 @@ >> -MACHINE_KERNEL_PR_append = ".arago0" >> +MACHINE_KERNEL_PR_append = ".arago1" >> >> FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:" >> >> diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend >> index 7c90ac5..a3241ab 100644 >> --- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend >> +++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend >> @@ -1,4 +1,4 @@ >> -MACHINE_KERNEL_PR_append = ".arago0" >> +MACHINE_KERNEL_PR_append = ".arago1" >> >> FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:" >> >> diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend >> index 4c50655..6ae4bd7 100644 >> --- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend >> +++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend >> @@ -1,4 +1,4 @@ >> -MACHINE_KERNEL_PR_append = ".arago4" >> +MACHINE_KERNEL_PR_append = ".arago5" >> >> FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:" >> >> -- >> 2.7.4 >> >> _______________________________________________ >> meta-arago mailing list >> meta-arago@arago-project.org >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago