From: Darren Hart <dvhart@linux.intel.com>
To: Zumeng Chen <zumeng.chen@windriver.com>
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 3/4] lttng-modules: from lttng-modules 2.0 git repo.
Date: Fri, 06 Jan 2012 18:10:13 -0800 [thread overview]
Message-ID: <4F07A985.6070903@linux.intel.com> (raw)
In-Reply-To: <38a7991592a5851e09395cc9f07bc6d2880c7bda.1325824274.git.zumeng.chen@windriver.com>
On 01/05/2012 10:11 PM, Zumeng Chen wrote:
> LTTng-modules 2.0 is currently in pre-release phase (-pre11)
If the commit message is identical, one could reasonably expect the
patch to be identical ;-) Please provide a complete commit message.
>
> Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
> ---
> ...modules-replace-KERNELDIR-with-KERNEL_SRC.patch | 41 ++++++++++++++++++++
> .../lttng-2.0/lttng-modules_v2.0.pre11.bb | 23 +++++++++++
> 2 files changed, 64 insertions(+), 0 deletions(-)
> create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
> create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-modules_v2.0.pre11.bb
>
> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch b/meta/recipes-kernel/lttng-2.0/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
> new file mode 100644
> index 0000000..b7b2fbb
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng-2.0/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
> @@ -0,0 +1,41 @@
> +Upstream-Status: Inappropriate [embedded specific]
> +
> +lttng-modules: replace KERNELDIR with KERNEL_SRC
> +
> +Since lttng-modules uses the default way of module.bbclass to
> +build and install lttng-modules, so we do this replacement for
> +it as-is.
Since and so are redundant: s/so///
> +
> +Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
> +---
> + Makefile | 7 +++----
> + 1 files changed, 3 insertions(+), 4 deletions(-)
> +
> +diff --git a/Makefile b/Makefile
> +index 5ac13d7..25caad5 100644
> +--- a/Makefile
> ++++ b/Makefile
> +@@ -38,17 +38,16 @@ obj-m += lib/
> + endif
> +
> + else
> +- KERNELDIR ?= /lib/modules/$(shell uname -r)/build
> + PWD := $(shell pwd)
> + CFLAGS = $(EXTCFLAGS)
> +
> + default:
> +- $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
> ++ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules
> +
> + modules_install:
> +- $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
> ++ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install
> +
> + clean:
> +- $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
> ++ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean
> +
> + endif
> +--
> +1.7.5.4
> +
> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-modules_v2.0.pre11.bb b/meta/recipes-kernel/lttng-2.0/lttng-modules_v2.0.pre11.bb
> new file mode 100644
> index 0000000..34af847
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng-2.0/lttng-modules_v2.0.pre11.bb
> @@ -0,0 +1,23 @@
> +SECTION = "devel"
> +SUMMARY = "Linux Trace Toolkit KERNEL MODULE"
> +DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules"
> +LICENSE = "LGPLv2.1 & GPLv2"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=1eb086682a7c65a45acd9bcdf6877b3e \
> + "file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \
> + "file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad"
Whitespace errors. Please use spaces here.
> +
> +DEPENDS = virtual/kernel
> +
> +inherit module
> +
> +SRCREV = "4d3e89e379fc66480d729abe8daa5c86eb585400"
> +PV = "v2.0.pre11+git${SRCPV}"
> +PR = "r0"
> +
> +SRC_URI += "git://git.lttng.org/lttng-modules.git;protocol=git \
> + file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch"
Spaces please.
> +
> +export INSTALL_MOD_DIR="kernel/lttng-modules"
> +
> +S = "${WORKDIR}/git"
> +COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
I think you want a solution for TARGET.
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
next prev parent reply other threads:[~2012-01-07 2:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-06 6:11 [PATCH 0/4]lttng-2.0 new recipe Zumeng Chen
2012-01-06 6:11 ` [PATCH 1/4] lttng-ust: Integrate into yocto linux Zumeng Chen
2012-01-07 2:01 ` Darren Hart
2012-01-09 4:27 ` Zumeng Chen
2012-01-06 6:11 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
2012-01-06 6:27 ` Zumeng Chen
2012-01-07 2:05 ` Darren Hart
2012-01-09 4:31 ` Zumeng Chen
2012-01-06 6:11 ` [PATCH 3/4] lttng-modules: from lttng-modules 2.0 " Zumeng Chen
2012-01-07 2:10 ` Darren Hart [this message]
2012-01-09 4:33 ` Zumeng Chen
2012-01-06 6:11 ` [PATCH 4/4] babeltrace: Integrated from version 0.8 Zumeng Chen
2012-01-07 15:54 ` Darren Hart
2012-01-09 4:35 ` Zumeng Chen
[not found] <cover.1326099771.git.zumeng.chen@windriver.com>
2012-01-09 9:24 ` [PATCH 3/4] lttng-modules: from lttng-modules 2.0 git repo Zumeng Chen
[not found] <cover.1326210673.git.zumeng.chen@windriver.com>
2012-01-10 16:11 ` Zumeng Chen
[not found] <cover.1326244852.git.zumeng.chen@windriver.com>
2012-01-11 1:31 ` Zumeng Chen
-- strict thread matches above, loose matches on Subject: below --
2012-01-12 3:10 [V4] [PATCH 0/4] lttng-2.0 new recipe for merge Zumeng Chen
2012-01-12 3:11 ` [PATCH 3/4] lttng-modules: from lttng-modules 2.0 git repo Zumeng Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F07A985.6070903@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=yocto@yoctoproject.org \
--cc=zumeng.chen@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.