Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Ben Shelton <ben.shelton@ni.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2 1/2] trace-cmd: Update to version 2.5.3
Date: Thu, 19 Feb 2015 20:59:57 +0100	[thread overview]
Message-ID: <20150219195957.GI2311@jama> (raw)
In-Reply-To: <1424374778-23666-1-git-send-email-ben.shelton@ni.com>

[-- Attachment #1: Type: text/plain, Size: 7293 bytes --]

On Thu, Feb 19, 2015 at 01:39:37PM -0600, Ben Shelton wrote:
> Updating adds new features including the very useful 'profile' option.
> 
> Changes include:
> 
>  - Remove addldflags.patch (already upstream in the new version).
> 
>  - Remove make-docs-optional.patch (docs are built in a separate target
>    in the new version).
> 
>  - Update SRC_URI, SRCREV, PR, and PV in the .inc file and don't
>    override them in the recipe.
> 
>  - Fix a typo in LIC_FILES_CHECKSUM so 'endline' is properly defined.
> 
> Signed-off-by: Ben Shelton <ben.shelton@ni.com>
> ---
>  meta/recipes-kernel/trace-cmd/trace-cmd.inc        | 13 +++---
>  .../trace-cmd/trace-cmd/addldflags.patch           | 51 ----------------------
>  .../trace-cmd/trace-cmd/make-docs-optional.patch   | 36 ---------------
>  .../{trace-cmd_2.3.2.bb => trace-cmd_git.bb}       |  8 +---
>  4 files changed, 7 insertions(+), 101 deletions(-)
>  delete mode 100644 meta/recipes-kernel/trace-cmd/trace-cmd/addldflags.patch
>  delete mode 100644 meta/recipes-kernel/trace-cmd/trace-cmd/make-docs-optional.patch
>  rename meta/recipes-kernel/trace-cmd/{trace-cmd_2.3.2.bb => trace-cmd_git.bb} (74%)
> 
> diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd.inc b/meta/recipes-kernel/trace-cmd/trace-cmd.inc
> index fb8c5fa..d03c697 100644
> --- a/meta/recipes-kernel/trace-cmd/trace-cmd.inc
> +++ b/meta/recipes-kernel/trace-cmd/trace-cmd.inc
> @@ -1,14 +1,13 @@
> -SRCREV = "7055ffd37beeb44714e86a4abc703f7e175a0db5"
> -PR = "r3"
> -PV = "1.2+git${SRCPV}"
> +SRCREV = "0813335d2e49291e7ab6a4365cec2baa05813eda"
> +PR = "r4"
> +PV = "2.5.3+git${SRCPV}"

Please drop PR when you're upgrading PV, especially when it's defined in
.inc file.

> -inherit pkgconfig pythonnative
> +inherit pkgconfig
>  
>  FILESEXTRAPATHS =. "${FILE_DIRNAME}/trace-cmd:"
>  
> -SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git \
> -           file://addldflags.patch \
> -           file://make-docs-optional.patch \
> +SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git;branch=trace-cmd-stable-v2.5 \
>             file://blktrace-api-compatibility.patch \
>  "
> +
>  S = "${WORKDIR}/git"
> diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd/addldflags.patch b/meta/recipes-kernel/trace-cmd/trace-cmd/addldflags.patch
> deleted file mode 100644
> index 14730db..0000000
> --- a/meta/recipes-kernel/trace-cmd/trace-cmd/addldflags.patch
> +++ /dev/null
> @@ -1,51 +0,0 @@
> -trace-cmd: Cross-compile fixes for LDFLAGS and include path
> -
> -Add ability for the Makefile to respect LDFLAGS.
> -Also remove hardcoded /usr/local/include include path.
> -
> -Upstream-Status: Accepted [Post 1.2: 5f576e9af7ad706774d9764a9ae3989376797c0e]
> -
> -Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> -Signed-off-by: Darren Hart <dvhart@linux.intel.com>
> -
> ----
> - Makefile |    7 ++++---
> - 1 file changed, 4 insertions(+), 3 deletions(-)
> -
> -Index: git/Makefile
> -===================================================================
> ---- git.orig/Makefile
> -+++ git/Makefile
> -@@ -202,12 +202,13 @@ export Q VERBOSE
> - TRACECMD_VERSION = $(TC_VERSION).$(TC_PATCHLEVEL).$(TC_EXTRAVERSION)
> - KERNELSHARK_VERSION = $(KS_VERSION).$(KS_PATCHLEVEL).$(KS_EXTRAVERSION)
> - 
> --INCLUDES = -I. -I/usr/local/include $(CONFIG_INCLUDES)
> -+INCLUDES = -I. $(CONFIG_INCLUDES)
> - 
> - include features.mk
> - 
> - # Set compile option CFLAGS if not set elsewhere
> - CFLAGS ?= -g -Wall
> -+LDFLAGS ?=
> - 
> - ifndef NO_PTRACE
> - ifneq ($(call try-cc,$(SOURCE_PTRACE),),y)
> -@@ -251,7 +252,7 @@ do_fpic_compile =					\
> - 
> - do_app_build =						\
> - 	($(print_app_build)				\
> --	$(CC) $^ -rdynamic -o $@ $(CONFIG_LIBS) $(LIBS))
> -+	$(CC) $^ -rdynamic -o $@ $(LDFLAGS) $(CONFIG_LIBS) $(LIBS))
> - 
> - do_compile_shared_library =			\
> - 	($(print_shared_lib_compile)		\
> -@@ -263,7 +264,7 @@ do_compile_plugin_obj =				\
> - 
> - do_plugin_build =				\
> - 	($(print_plugin_build)			\
> --	$(CC) $(CFLAGS) -shared -nostartfiles -o $@ $<)
> -+	$(CC) $(CFLAGS) $(LDFLAGS) -shared -nostartfiles -o $@ $<)
> - 
> - do_build_static_lib =				\
> - 	($(print_static_lib_build)		\
> diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd/make-docs-optional.patch b/meta/recipes-kernel/trace-cmd/trace-cmd/make-docs-optional.patch
> deleted file mode 100644
> index 8402426..0000000
> --- a/meta/recipes-kernel/trace-cmd/trace-cmd/make-docs-optional.patch
> +++ /dev/null
> @@ -1,36 +0,0 @@
> -Disable building docs until we have asciidocs available as a recipe.
> -
> -Upstream-Status: Inappropriate [Account for missing dependency, the lazy way]
> -
> -Signed-off-by: Darren Hart <dvhart@linux.intel.com>
> -
> ----
> - Makefile |    8 ++++++--
> - 1 file changed, 6 insertions(+), 2 deletions(-)
> -
> -Index: git/Makefile
> -===================================================================
> ---- git.orig/Makefile
> -+++ git/Makefile
> -@@ -327,7 +327,9 @@ TARGETS = $(CMD_TARGETS) $(GUI_TARGETS)
> - #    If you want kernelshark, then do:  make gui
> - ###
> - 
> --all: all_cmd doc show_gui_make
> -+# Make doc optional
> -+#all: all_cmd doc show_gui_make
> -+all: all_cmd show_gui_make
> - 
> - all_cmd: $(CMD_TARGETS)
> - 
> -@@ -503,7 +505,9 @@ install_python: $(PYTHON_SO_INSTALL) $(P
> - install_cmd: all_cmd install_plugins install_python
> - 	$(Q)$(call do_install,trace-cmd,$(bindir_SQ))
> - 
> --install: install_cmd install_doc
> -+# Make doc optional
> -+#install: install_cmd install_doc
> -+install: install_cmd
> - 	@echo "Note: to install the gui, type \"make install_gui\""
> - 
> - install_gui: install_cmd gui
> diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
> similarity index 74%
> rename from meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb
> rename to meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
> index a4d5382..b1ac789 100644
> --- a/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb
> +++ b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
> @@ -6,13 +6,7 @@ require trace-cmd.inc
>  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+git${SRCPV}"
> -
> -SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git;branch=trace-cmd-stable-v2.3 \
> +                    file://trace-input.c;beginline=5;endline=8;md5=3ec82f43bbe0cfb5951ff414ef4d44d0 \
>  "
>  
>  EXTRA_OEMAKE = "\
> -- 
> 2.3.0
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

      parent reply	other threads:[~2015-02-19 19:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-19 19:39 [PATCH v2 1/2] trace-cmd: Update to version 2.5.3 Ben Shelton
2015-02-19 19:39 ` [PATCH v2 2/2] kernelshark: " Ben Shelton
2015-02-19 19:59 ` Martin Jansa [this message]

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=20150219195957.GI2311@jama \
    --to=martin.jansa@gmail.com \
    --cc=ben.shelton@ni.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox