From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/7] btrfs-tools: update to 4.12
Date: Mon, 7 Aug 2017 14:45:00 +0300 [thread overview]
Message-ID: <20170807114504.28410-3-alexander.kanavin@linux.intel.com> (raw)
In-Reply-To: <20170807114504.28410-1-alexander.kanavin@linux.intel.com>
Add a patch to force a native build for a helper binary
(which is not installed or used outside of the build process).
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
...-Makefile-build-mktables-using-native-gcc.patch | 30 ++++++++++++++++++++++
.../{btrfs-tools_4.11.1.bb => btrfs-tools_4.12.bb} | 6 +++--
2 files changed, 34 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch
rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.11.1.bb => btrfs-tools_4.12.bb} (88%)
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch
new file mode 100644
index 00000000000..0a3b5fd7102
--- /dev/null
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch
@@ -0,0 +1,30 @@
+From e58369f6d36bc51eb59d6afa34c1cae3ff0810ef Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+Date: Mon, 7 Aug 2017 14:10:38 +0300
+Subject: [PATCH] Makefile: build mktables using native gcc
+
+It's a throwaway helper binary used during build, and so it needs to
+be native.
+
+Upstream-Status: Inappropriate [oe specific]
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index b3e2b63..347aaf1 100644
+--- a/Makefile
++++ b/Makefile
+@@ -323,7 +323,7 @@ version.h: version.sh version.h.in configure.ac
+
+ mktables: kernel-lib/mktables.c
+ @echo " [CC] $@"
+- $(Q)$(CC) $(CFLAGS) $< -o $@
++ $(Q)$(BUILD_CC) $(CFLAGS) $< -o $@
+
+ kernel-lib/tables.c: mktables
+ @echo " [TABLE] $@"
+--
+2.13.2
+
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.11.1.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.12.bb
similarity index 88%
rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_4.11.1.bb
rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_4.12.bb
index a7b42e9546b..c3cc89c2b0f 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.11.1.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.12.bb
@@ -14,8 +14,10 @@ DEPENDS = "util-linux attr e2fsprogs lzo acl"
DEPENDS_append_class-target = " udev"
RDEPENDS_${PN} = "libgcc"
-SRCREV = "88221fc081a7a0979a012f243b66cf097382cc8f"
-SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git"
+SRCREV = "0607132c3200bcead1426e6dc685432008de95de"
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \
+ file://0001-Makefile-build-mktables-using-native-gcc.patch \
+ "
inherit autotools-brokensep pkgconfig manpages
--
2.13.2
next prev parent reply other threads:[~2017-08-07 11:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-07 11:44 [PATCH 1/7] dnf: update to 2.6.3 Alexander Kanavin
2017-08-07 11:44 ` [PATCH 2/7] libdnf: update to 0.9.3 Alexander Kanavin
2017-08-07 11:45 ` Alexander Kanavin [this message]
2017-08-07 12:59 ` [PATCH 3/7] btrfs-tools: update to 4.12 Burton, Ross
2017-08-07 12:59 ` Alexander Kanavin
2017-08-07 13:05 ` Burton, Ross
2017-08-08 15:48 ` Khem Raj
2017-08-08 17:19 ` Alexander Kanavin
2017-08-08 17:24 ` Khem Raj
2017-08-07 11:45 ` [PATCH 4/7] ffmpeg: update to 3.3.3 Alexander Kanavin
2017-08-07 11:45 ` [PATCH 5/7] babeltrace: update to 1.5.3 Alexander Kanavin
2017-08-07 11:45 ` [PATCH 6/7] oprofile: update to 1.2.0 Alexander Kanavin
2017-08-09 20:47 ` Burton, Ross
2017-08-11 11:25 ` Alexander Kanavin
2017-08-07 11:45 ` [PATCH 7/7] gptfdisk: update to 1.0.3 Alexander Kanavin
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=20170807114504.28410-3-alexander.kanavin@linux.intel.com \
--to=alexander.kanavin@linux.intel.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