From patchwork Wed Jan 21 09:07:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 43441 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7CB16240D5 for ; Wed, 21 Jan 2015 09:08:08 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id fb4sf8275248wid.3 for ; Wed, 21 Jan 2015 01:08:07 -0800 (PST) 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:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=9qDPxJ/vJ5n4HnwrkaywK3VN6/LH98O6tPNScY3JWbE=; b=CkM3T6U/7RyH2UXDThRHYVD1VGo2an+Vv97Lz2V4MwFbJE33FgWAnO3ZNLDbeXljW2 GcXQwmYQaWeDfeGXopONhxasLuweFktdyOv4FDHoME4I4gUV9vd7n6V5IHCrOtKyjcpo CLNV5phSORUhEAvVe65GPFsqeM0qedumZTi3Rj11cwD3AlPp1thBj8XDwvQaLMPLAG4q kTug3WnyNH+V624O35XCZfJrekd+Z9NB62jbkP2R2MkDjjzMrSQOSguhc8nPxoULktTH /TXTOEyJzViBakxLZ4Ce7yr4w7CsOhLVymS9W9gU8Pit+ok8fTBv+caT++lE3JS5buqM lvtA== X-Gm-Message-State: ALoCoQmnRBp/n65i/BAvPJiVrgSxMkF9iJAnoEr7sgHl0M24pkqlLa4L2wv+WL86/+KgvcmrK4Tr X-Received: by 10.180.93.165 with SMTP id cv5mr3410781wib.6.1421831287758; Wed, 21 Jan 2015 01:08:07 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.200 with SMTP id n8ls9294lag.15.gmail; Wed, 21 Jan 2015 01:08:07 -0800 (PST) X-Received: by 10.152.198.200 with SMTP id je8mr718294lac.93.1421831287600; Wed, 21 Jan 2015 01:08:07 -0800 (PST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id c4si17399040lbv.53.2015.01.21.01.08.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Jan 2015 01:08:07 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id pv20so38976998lab.13 for ; Wed, 21 Jan 2015 01:08:07 -0800 (PST) X-Received: by 10.112.173.202 with SMTP id bm10mr34296000lbc.24.1421831287183; Wed, 21 Jan 2015 01:08:07 -0800 (PST) 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.9.200 with SMTP id c8csp1706290lbb; Wed, 21 Jan 2015 01:08:06 -0800 (PST) X-Received: by 10.66.246.130 with SMTP id xw2mr61391189pac.32.1421831285337; Wed, 21 Jan 2015 01:08:05 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id pa10si2284879pac.82.2015.01.21.01.08.04; Wed, 21 Jan 2015 01:08:05 -0800 (PST) Received-SPF: none (google.com: openembedded-core-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 029AF72B68; Wed, 21 Jan 2015 09:07:50 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by mail.openembedded.org (Postfix) with ESMTP id E73EE6AD01 for ; Wed, 21 Jan 2015 09:07:39 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id bs8so31600349wib.0 for ; Wed, 21 Jan 2015 01:07:40 -0800 (PST) X-Received: by 10.180.93.103 with SMTP id ct7mr826616wib.77.1421831260311; Wed, 21 Jan 2015 01:07:40 -0800 (PST) Received: from localhost ([2001:610:612:0:2ad2:44ff:fe4b:bc17]) by mx.google.com with ESMTPSA id 7sm24613598wjq.29.2015.01.21.01.07.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2015 01:07:39 -0800 (PST) From: Koen Kooi To: openembedded-core@lists.openembedded.org Date: Wed, 21 Jan 2015 10:07:35 +0100 Message-Id: <1421831255-3639-1-git-send-email-koen.kooi@linaro.org> X-Mailer: git-send-email 1.9.3 Cc: Koen Kooi Subject: [OE-core] [PATCH] linux-dummy: provide empty shared_workdir method X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: koen.kooi@linaro.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.215.54 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 Perf.bb (among others) requires access to the kernel source, so have linux-dummy fake that as well. As before, perf will fail to build, but there are use cases where this patch is needed. For example a perf.bbappend that will always build it from the debian linux-tools tarball. Using linux-dummy is still a bad, bad idea, but it shouldn't start breaking existing use cases. Signed-off-by: Koen Kooi --- meta/recipes-kernel/linux/linux-dummy.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb index 8f25f17..cc0e4e6 100644 --- a/meta/recipes-kernel/linux/linux-dummy.bb +++ b/meta/recipes-kernel/linux/linux-dummy.bb @@ -33,6 +33,10 @@ do_compile () { : } +do_shared_workdir () { + : +} + do_install() { : } @@ -47,4 +51,4 @@ do_deploy() { addtask bundle_initramfs after do_install before do_deploy addtask deploy after do_install - +addtask shared_workdir after do_compile before do_install