summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/btrfs-tools/btrfs-tools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools')
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/fix-parallel.patch32
1 files changed, 32 insertions, 0 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
new file mode 100644
index 0000000000..65c31a4448
--- /dev/null
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix-parallel.patch
@@ -0,0 +1,32 @@
1From 373eb51328b5e10529763cad441210e6b0efb24e Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Wed, 11 Feb 2015 22:08:41 -0800
4Subject: [PATCH] Makefile: fix for parallel build
5
6Fixed:
7mkfs.c:300:46: error: 'BTRFS_BUILD_VERSION' undeclared (first use in this function)
8 fprintf(stderr, "mkfs.btrfs, part of %s\n", BTRFS_BUILD_VERSION);
9
10Upstream-Status: Pending
11
12Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13---
14 Makefile | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/Makefile b/Makefile
18index 9c69ada..30c6f06 100644
19--- a/Makefile
20+++ b/Makefile
21@@ -118,7 +118,7 @@ else
22 AM_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
23 endif
24
25-%.o.d: %.c
26+%.o.d: %.c version.h
27 $(Q)$(CC) -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o) -MT $@ $(AM_CFLAGS) $(CFLAGS) $<
28
29 .c.o:
30--
311.7.9.5
32