diff options
| -rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch | 30 | ||||
| -rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools_4.12.bb (renamed from meta/recipes-devtools/btrfs-tools/btrfs-tools_4.11.1.bb) | 6 |
2 files changed, 34 insertions, 2 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 @@ | |||
| 1 | From e58369f6d36bc51eb59d6afa34c1cae3ff0810ef Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 3 | Date: Mon, 7 Aug 2017 14:10:38 +0300 | ||
| 4 | Subject: [PATCH] Makefile: build mktables using native gcc | ||
| 5 | |||
| 6 | It's a throwaway helper binary used during build, and so it needs to | ||
| 7 | be native. | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [oe specific] | ||
| 10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 11 | --- | ||
| 12 | Makefile | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/Makefile b/Makefile | ||
| 16 | index 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 | -- | ||
| 29 | 2.13.2 | ||
| 30 | |||
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 index a7b42e9546..c3cc89c2b0 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" | |||
| 14 | DEPENDS_append_class-target = " udev" | 14 | DEPENDS_append_class-target = " udev" |
| 15 | RDEPENDS_${PN} = "libgcc" | 15 | RDEPENDS_${PN} = "libgcc" |
| 16 | 16 | ||
| 17 | SRCREV = "88221fc081a7a0979a012f243b66cf097382cc8f" | 17 | SRCREV = "0607132c3200bcead1426e6dc685432008de95de" |
| 18 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git" | 18 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \ |
| 19 | file://0001-Makefile-build-mktables-using-native-gcc.patch \ | ||
| 20 | " | ||
| 19 | 21 | ||
| 20 | inherit autotools-brokensep pkgconfig manpages | 22 | inherit autotools-brokensep pkgconfig manpages |
| 21 | 23 | ||
