Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1 V2] btrfs-tools: 3.18.2 -> 4.0.1
@ 2015-06-01  5:41 Robert Yang
  2015-06-01  5:41 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2015-06-01  5:41 UTC (permalink / raw)
  To: openembedded-core

* V2
  Updated commit message that 4.0.1 switched to autotools.

// Robert

The following changes since commit 968973d55d4b33e1a929ed4cdf9387fcaba2d93f:

  qt4: unconditionally disable gstreamer 0.10 support in qt webkit (2015-05-30 22:25:12 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/btrfs-tools
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/btrfs-tools

Robert Yang (1):
  btrfs-tools: 3.18.2 -> 4.0.1

 .../btrfs-tools/btrfs-tools/fix-parallel.patch     |   16 ++++++++--------
 .../btrfs-tools/btrfs-tools_git.bb                 |   16 +++++++++-------
 2 files changed, 17 insertions(+), 15 deletions(-)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] btrfs-tools: 3.18.2 -> 4.0.1
  2015-06-01  5:41 [PATCH 0/1 V2] btrfs-tools: 3.18.2 -> 4.0.1 Robert Yang
@ 2015-06-01  5:41 ` Robert Yang
  2015-06-02 10:30   ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2015-06-01  5:41 UTC (permalink / raw)
  To: openembedded-core

* Updated fix-parallel.patch
* The 4.0.1 switched to autotools, but inherit autotools doesn't work:
  | make: *** No rule to make target `ctree.o', needed by `btrfs'.  Stop.

  so inherit autotools-brokensep

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../btrfs-tools/btrfs-tools/fix-parallel.patch     |   16 ++++++++--------
 .../btrfs-tools/btrfs-tools_git.bb                 |   16 +++++++++-------
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix-parallel.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix-parallel.patch
index 65c31a4..bbc53c6 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix-parallel.patch
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix-parallel.patch
@@ -11,20 +11,20 @@ Upstream-Status: Pending
 
 Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
 ---
- Makefile |    2 +-
+ Makefile.in |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/Makefile b/Makefile
-index 9c69ada..30c6f06 100644
---- a/Makefile
-+++ b/Makefile
-@@ -118,7 +118,7 @@ else
- 	AM_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
+diff --git a/Makefile.in b/Makefile.in
+index 860a390..8a6fbd7 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -142,7 +142,7 @@ else
+ 	check_echo = true
  endif
  
 -%.o.d: %.c
 +%.o.d: %.c version.h
- 	$(Q)$(CC) -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o) -MT $@ $(AM_CFLAGS) $(CFLAGS) $<
+ 	$(Q)$(CC) -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o) -MT $@ $(CFLAGS) $<
  
  .c.o:
 -- 
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb
index d86075c..82403aa 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb
@@ -12,19 +12,21 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
 SECTION = "base"
 DEPENDS = "util-linux attr e2fsprogs lzo acl"
 
-SRCREV = "344599a7aefe23c7169ccdde3ad1b921bb60024c"
+SRCREV = "c061b303c08af7a58373908d0d77ef0f1161fd36"
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \
            file://fix-parallel.patch \
 "
 
-S = "${WORKDIR}/git"
-
-PV = "3.18.2+git${SRCPV}"
+inherit autotools-brokensep pkgconfig
 
-EXTRA_OEMAKE += "DISABLE_DOCUMENTATION=1"
+EXTRA_OECONF += "--disable-documentation"
 
-do_install () {
-	oe_runmake 'DESTDIR=${D}' install
+do_configure_prepend() {
+      sh autogen.sh
 }
 
+S = "${WORKDIR}/git"
+
+PV = "4.0.1+git${SRCPV}"
+
 BBCLASSEXTEND = "native"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] btrfs-tools: 3.18.2 -> 4.0.1
  2015-06-01  5:41 ` [PATCH 1/1] " Robert Yang
@ 2015-06-02 10:30   ` Burton, Ross
  2015-06-02 11:50     ` Robert Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2015-06-02 10:30 UTC (permalink / raw)
  To: Robert Yang; +Cc: OE-core

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

On 1 June 2015 at 06:41, Robert Yang <liezhi.yang@windriver.com> wrote:

> -       $(Q)$(CC) -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o)
> -MT $@ $(AM_CFLAGS) $(CFLAGS) >lt;
> +       $(Q)$(CC) -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o)
> -MT $@ $(CFLAGS) >lt;
>

Pretty sure you don't mean to drop AM_CFLAGS there.

Ross

[-- Attachment #2: Type: text/html, Size: 743 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] btrfs-tools: 3.18.2 -> 4.0.1
  2015-06-02 10:30   ` Burton, Ross
@ 2015-06-02 11:50     ` Robert Yang
  2015-06-02 12:23       ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2015-06-02 11:50 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core



On 06/02/2015 06:30 PM, Burton, Ross wrote:
>
> On 1 June 2015 at 06:41, Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>> wrote:
>
>     -       $(Q)$(CC) -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o)
>     -MT $@ $(AM_CFLAGS) $(CFLAGS) >lt;
>     +       $(Q)$(CC) -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o)
>     -MT $@ $(CFLAGS) >lt;
>
>
> Pretty sure you don't mean to drop AM_CFLAGS there.

Hi Ross,

The patch I sent is a patch's patch, which means that this patch patches
fix-parallel.patch, after the patch is applied, the fix-parallel.patch is:

diff --git a/Makefile.in b/Makefile.in
index 860a390..8a6fbd7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,7 +142,7 @@ else
     check_echo = true
  endif

-%.o.d: %.c
+%.o.d: %.c version.h
     $(Q)$(CC) -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o) -MT $@ 
$(CFLAGS) $<

  .c.o:


I think that there isn't anything wrong.

// Robert

>
> Ross


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] btrfs-tools: 3.18.2 -> 4.0.1
  2015-06-02 11:50     ` Robert Yang
@ 2015-06-02 12:23       ` Burton, Ross
  0 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2015-06-02 12:23 UTC (permalink / raw)
  To: Robert Yang; +Cc: OE-core

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

On 2 June 2015 at 12:50, Robert Yang <liezhi.yang@windriver.com> wrote:

> The patch I sent is a patch's patch, which means that this patch patches
> fix-parallel.patch, after the patch is applied, the fix-parallel.patch is:
>

Yes, of course, sorry :)

Ross

[-- Attachment #2: Type: text/html, Size: 686 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-02 12:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-01  5:41 [PATCH 0/1 V2] btrfs-tools: 3.18.2 -> 4.0.1 Robert Yang
2015-06-01  5:41 ` [PATCH 1/1] " Robert Yang
2015-06-02 10:30   ` Burton, Ross
2015-06-02 11:50     ` Robert Yang
2015-06-02 12:23       ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox