From patchwork Fri Sep 12 17:55:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 37361 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EFB9E206A5 for ; Fri, 12 Sep 2014 17:55:58 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id gi9sf690424lab.3 for ; Fri, 12 Sep 2014 10:55:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:cc:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=CEEmM6D8AGaKVMYc9GZ2E5Ot1hKHO0OxbRGS7V0t/7k=; b=csXlomwkkAkbhg9NaiwQzLgvbLm1z9Ex4wUcklhK2dCAaiBoYWJ1aY+/GRDSo+4baN baUgJGJSdeWaMXCWU+FD2FB1sNg0nCiE9qXZeZdmc4b/lXLgN4CvAse8NRMh+HqycMlf 1fXlP1qypGNcRv0Vjo6mNeMuxwzRqyEo428A7hKWv5wTrDNxQL0fvAiNoj+3ECs/eH9u mFKD6c9CrqcxIZ4fGl8s8+YlUvlsuupr7xJjsCJQnv7AUoPnUgQTYWlVE0gHi3WvQdsl E8cHJcU5VrUWlE14p9tOvF73co1TmJzacpKcXO0PCdv6yh43tR4CxrOcBIxNdxf3cKPi yeUA== X-Gm-Message-State: ALoCoQmkms56WUYrl0sc9pTvZ9Lw7H7CvBcGfLBCsVuYSAIO/ig09hP/vN6Kdrdd6digFc+iDQVx X-Received: by 10.180.8.1 with SMTP id n1mr1160681wia.1.1410544557664; Fri, 12 Sep 2014 10:55:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.34 with SMTP id kv2ls188301lac.76.gmail; Fri, 12 Sep 2014 10:55:57 -0700 (PDT) X-Received: by 10.112.61.68 with SMTP id n4mr9992472lbr.91.1410544557507; Fri, 12 Sep 2014 10:55:57 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx.google.com with ESMTPS id ug4si7747165lbc.5.2014.09.12.10.55.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Sep 2014 10:55:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id 10so1384860lbg.30 for ; Fri, 12 Sep 2014 10:55:57 -0700 (PDT) X-Received: by 10.112.163.103 with SMTP id yh7mr10055139lbb.73.1410544557150; Fri, 12 Sep 2014 10:55:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.141.42 with SMTP id rl10csp782186lbb; Fri, 12 Sep 2014 10:55:56 -0700 (PDT) X-Received: by 10.68.220.105 with SMTP id pv9mr14857998pbc.8.1410544555563; Fri, 12 Sep 2014 10:55:55 -0700 (PDT) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id fb4si9376266pab.69.2014.09.12.10.55.54 for ; Fri, 12 Sep 2014 10:55:55 -0700 (PDT) Received-SPF: none (google.com: openembedded-devel-bounces@lists.openembedded.org does not designate permitted sender hosts) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C2F28702CC; Fri, 12 Sep 2014 17:55:33 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by mail.openembedded.org (Postfix) with ESMTP id 5BBFF65E2B for ; Fri, 12 Sep 2014 17:55:26 +0000 (UTC) Received: from gandalf.denix.org ([unknown] [108.18.33.160]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0NBS00G06V3PUP00@vms173019.mailsrvcs.net> for openembedded-devel@lists.openembedded.org; Fri, 12 Sep 2014 12:55:12 -0500 (CDT) Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id B34D92001F; Fri, 12 Sep 2014 13:55:00 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-devel@lists.openembedded.org Date: Fri, 12 Sep 2014 13:55:00 -0400 Message-id: <1410544500-20781-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.0.4 Cc: Denys Dmytriyenko Subject: [oe] [PATCH] ltp-ddt: keep do_make_scripts as separate task to lock correctly X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: denis@denix.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb index d0b84ad..db62ac6 100644 --- a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb +++ b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb @@ -13,7 +13,7 @@ inherit autotools-brokensep module-base kernel-module-split PACKAGE_ARCH = "${MACHINE_ARCH}" -SRCREV = "088356602220dd8b48aeb138d4976c05c0879574" +SRCREV = "903f70a11eb77cbad62d7ecbe7dcbaf61be8ff99" BRANCH ?= "master" SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \ @@ -67,10 +67,6 @@ do_configure() { kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt" -do_compile_prepend () { - do_make_scripts -} - do_compile_append () { oe_runmake modules } @@ -83,3 +79,8 @@ do_install() { rm -rf ${D}${LTPROOT}/share/ mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir} } + +# do_make_scripts should be a separate task for the lock to work +addtask make_scripts before do_compile +do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" +do_make_scripts[deptask] = "do_populate_sysroot"