From patchwork Tue Apr 8 14:00:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 27979 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 522BD20447 for ; Tue, 8 Apr 2014 14:00:50 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id r5sf2594875qcx.9 for ; Tue, 08 Apr 2014 07:00:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=/pCeup1ALF/7a4Ib7GioloZQiZh3VeJAFdKdhon9CX4=; b=GpL3DSY7FQCPJVduJOMDDHIrmWC51c3bCfjD41Af9RXUSu5q9r0AzKwIwLT8G9OgN/ mZYT7/XzbWZ2HFd5LtFNMYC2WV7tGXhXPSFdEcef5Oi7N9r5k4Fr428CM9GvO365Y27F VELc1nyISs4rw9KBZS47a2DDWV7hf1q2SJAbRDgx4x/ifUCMLXDXPAjJmQnduLsZuTh2 pmb9WlmZ4396R6KfMQ+wjWjk73av3R7i8u05Ln3j0HztyWmP5mT6by2WXeTeXjypwdGW /1BvQoR6GtUAYiqu1iM9ksRpzDrZw4OcK20i4/nZt60H3XpBcKD7DOZHLeisAMcTEL0W ujxg== X-Gm-Message-State: ALoCoQktvrzCoqrEqNrlIthBhKvmPPZsqYED1GZ00WeV15tA1rWp1sppP9QPnnTxo7NangKrSP8V X-Received: by 10.58.30.78 with SMTP id q14mr1792619veh.10.1396965649865; Tue, 08 Apr 2014 07:00:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.170 with SMTP id p39ls208499qgd.49.gmail; Tue, 08 Apr 2014 07:00:49 -0700 (PDT) X-Received: by 10.221.58.144 with SMTP id wk16mr1943325vcb.23.1396965649756; Tue, 08 Apr 2014 07:00:49 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id v2si413303vet.34.2014.04.08.07.00.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 07:00:49 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id db11so776803veb.7 for ; Tue, 08 Apr 2014 07:00:49 -0700 (PDT) X-Received: by 10.220.4.132 with SMTP id 4mr3425801vcr.9.1396965649678; Tue, 08 Apr 2014 07:00:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.12.8 with SMTP id v8csp247961vcv; Tue, 8 Apr 2014 07:00:49 -0700 (PDT) X-Received: by 10.204.175.7 with SMTP id v7mr37464bkz.181.1396965648695; Tue, 08 Apr 2014 07:00:48 -0700 (PDT) Received: from mail-bk0-f46.google.com (mail-bk0-f46.google.com [209.85.214.46]) by mx.google.com with ESMTPS id pe1si1131538bkb.176.2014.04.08.07.00.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 07:00:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.214.46 is neither permitted nor denied by best guess record for domain of fathi.boudra@linaro.org) client-ip=209.85.214.46; Received: by mail-bk0-f46.google.com with SMTP id v15so321135bkz.19 for ; Tue, 08 Apr 2014 07:00:48 -0700 (PDT) X-Received: by 10.112.13.101 with SMTP id g5mr2319497lbc.39.1396965648017; Tue, 08 Apr 2014 07:00:48 -0700 (PDT) Received: from localhost.localdomain (a91-152-78-194.elisa-laajakaista.fi. [91.152.78.194]) by mx.google.com with ESMTPSA id eo12sm1756149lbb.13.2014.04.08.07.00.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 07:00:47 -0700 (PDT) From: Fathi Boudra To: openembedded-core@lists.openembedded.org Cc: Richard Purdie , Fathi Boudra Subject: [PATCHv2 2/2] trace-cmd/kernelshark: oe-stylize recipes Date: Tue, 8 Apr 2014 17:00:37 +0300 Message-Id: <1396965637-4802-3-git-send-email-fathi.boudra@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1396965637-4802-1-git-send-email-fathi.boudra@linaro.org> References: <1396965637-4802-1-git-send-email-fathi.boudra@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fathi.boudra@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Fathi Boudra --- meta/recipes-kernel/trace-cmd/kernelshark_2.3.2.bb | 23 +++++++++++----------- meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb | 8 ++++---- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/meta/recipes-kernel/trace-cmd/kernelshark_2.3.2.bb b/meta/recipes-kernel/trace-cmd/kernelshark_2.3.2.bb index f455707..dbc2a9d 100644 --- a/meta/recipes-kernel/trace-cmd/kernelshark_2.3.2.bb +++ b/meta/recipes-kernel/trace-cmd/kernelshark_2.3.2.bb @@ -2,23 +2,22 @@ SUMMARY = "Graphical trace viewer for Ftrace" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://kernel-shark.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e" - +DEPENDS = "gtk+" SRCREV = "79e08f8edb38c4c5098486caaa87ca90ba00f547" PV = "2.3.2" -DEPENDS = "gtk+" -RDEPENDS_${PN} = "trace-cmd" - SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;branch=trace-cmd-stable-v2.3" -S = "${WORKDIR}/git" -FILESPATH = "${FILE_DIRNAME}/trace-cmd" +S = "${WORKDIR}/git" do_install() { - ${MAKE} NO_PYTHON=1 prefix=${prefix} plugin_dir=${libdir}/trace-cmd/plugins DESTDIR=${D} install_gui - - # remove files already shipped in trace-cmd package - rm -f ${D}${bindir}/trace-cmd - rm -rf ${D}${libdir}/trace-cmd - rmdir ${D}${libdir} + ${MAKE} NO_PYTHON=1 prefix=${prefix} plugin_dir=${libdir}/trace-cmd/plugins DESTDIR=${D} install_gui + # remove files already shipped in trace-cmd package + rm -f ${D}${bindir}/trace-cmd + rm -rf ${D}${libdir}/trace-cmd + rmdir ${D}${libdir} } + +RDEPENDS_${PN} = "trace-cmd" + +FILESPATH = "${FILE_DIRNAME}/trace-cmd" diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb index eed1010..798ee1b 100644 --- a/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb +++ b/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb @@ -4,15 +4,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://trace-cmd.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e \ file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \ file://trace-input.c;beginline=5;endine=8;md5=dafd8a1cade30b847a8686dd3628cea4" - SRCREV = "79e08f8edb38c4c5098486caaa87ca90ba00f547" PV = "2.3.2" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;branch=trace-cmd-stable-v2.3" -S = "${WORKDIR}/git" -FILES_${PN}-dbg += "${libdir}/trace-cmd/plugins/.debug/" +S = "${WORKDIR}/git" do_install() { - ${MAKE} NO_PYTHON=1 prefix=${prefix} plugin_dir=${libdir}/trace-cmd/plugins DESTDIR=${D} install + ${MAKE} NO_PYTHON=1 prefix=${prefix} plugin_dir=${libdir}/trace-cmd/plugins DESTDIR=${D} install } + +FILES_${PN}-dbg += "${libdir}/trace-cmd/plugins/.debug/"