summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/btrfs-tools/btrfs-tools
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-08-07 16:10:42 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-13 09:27:38 +0100
commit9952b38de4002da66da677380ac86283f852ad22 (patch)
tree0b4dd29156fbc58a98d7fdcad25c2c084c6882c7 /meta/recipes-devtools/btrfs-tools/btrfs-tools
parent62455dfb8aabd5106f6316ef3fc93fc4116da17c (diff)
downloadpoky-9952b38de4002da66da677380ac86283f852ad22.tar.gz
btrfs-tools: update to 4.12
Add a patch to force a native build for a helper binary (which is not installed or used outside of the build process). (From OE-Core rev: 35e3ed68fd25941e3d76e5a063299b1d1cee0e70) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools')
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch30
1 files changed, 30 insertions, 0 deletions
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 0000000000..a81900ee7e
--- /dev/null
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch
@@ -0,0 +1,30 @@
1From e58369f6d36bc51eb59d6afa34c1cae3ff0810ef Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 7 Aug 2017 14:10:38 +0300
4Subject: [PATCH] Makefile: build mktables using native gcc
5
6It's a throwaway helper binary used during build, and so it needs to
7be native.
8
9Upstream-Status: Inappropriate [oe specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/Makefile b/Makefile
16index b3e2b63..347aaf1 100644
17--- a/Makefile
18+++ b/Makefile
19@@ -323,7 +323,7 @@ version.h: version.sh version.h.in configure.ac
20
21 mktables: kernel-lib/mktables.c
22 @echo " [CC] $@"
23- $(Q)$(CC) $(CFLAGS) $< -o $@
24+ $(Q)$(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
25
26 kernel-lib/tables.c: mktables
27 @echo " [TABLE] $@"
28--
292.13.2
30