From patchwork Wed Dec 14 22:58:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ken Werner X-Patchwork-Id: 5731 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 348A023E33 for ; Wed, 14 Dec 2011 22:58:56 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2B660A18103 for ; Wed, 14 Dec 2011 22:58:56 +0000 (UTC) Received: by mail-ey0-f180.google.com with SMTP id k10so1407643eaa.11 for ; Wed, 14 Dec 2011 14:58:56 -0800 (PST) Received: by 10.205.127.12 with SMTP id gy12mr134139bkc.108.1323903535153; Wed, 14 Dec 2011 14:58:55 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.129.2 with SMTP id hg2cs23443bkc; Wed, 14 Dec 2011 14:58:55 -0800 (PST) Received: by 10.213.20.14 with SMTP id d14mr1112223ebb.100.1323903534547; Wed, 14 Dec 2011 14:58:54 -0800 (PST) Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com. [195.75.94.110]) by mx.google.com with ESMTPS id n11si3400132eeh.166.2011.12.14.14.58.54 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 14:58:54 -0800 (PST) Received-SPF: neutral (google.com: 195.75.94.110 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) client-ip=195.75.94.110; Authentication-Results: mx.google.com; spf=neutral (google.com: 195.75.94.110 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) smtp.mail=ken.werner@linaro.org Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 14 Dec 2011 22:58:54 -0000 Received: from d06nrmr1507.portsmouth.uk.ibm.com ([9.149.38.233]) by e06smtp14.uk.ibm.com ([192.168.101.144]) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 14 Dec 2011 22:58:47 -0000 Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pBEMwlrg2375750 for ; Wed, 14 Dec 2011 22:58:47 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost.localdomain [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pBEMwloY024436 for ; Wed, 14 Dec 2011 15:58:47 -0700 Received: from bolide.boeblingen.de.ibm.com (dyn-9-152-224-84.boeblingen.de.ibm.com [9.152.224.84]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id pBEMwkDp024425; Wed, 14 Dec 2011 15:58:46 -0700 From: Ken Werner To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/3] Rename do_configure_prepend to do_pre_configure and add it before do_configure Date: Wed, 14 Dec 2011 23:58:30 +0100 Message-Id: <1323903512-7344-2-git-send-email-ken.werner@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1323903512-7344-1-git-send-email-ken.werner@linaro.org> References: <1323903512-7344-1-git-send-email-ken.werner@linaro.org> x-cbid: 11121422-1948-0000-0000-000000674313 Defining a new task instead of using configure_prepend allows inheriting recipes to override the pre_configure task. Signed-off-by: Ken Werner --- meta/classes/libc-package.bbclass | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 1796d3d..b2accb6 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -39,10 +39,10 @@ python __anonymous () { OVERRIDES_append = ":${TARGET_ARCH}-${TARGET_OS}" -do_configure_prepend() { +do_pre_configure() { sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in } - +addtask pre_configure before do_configure # indentation removed on purpose