From f4276141088fc848675af5c5267680747312eed3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 20 Sep 2013 16:12:50 +0000 Subject: btrfs-tools: Fix parallel make issue btrfs-tools was failing occasionally due to version.h being missing. This fixes the problems, thanks to several people on #yocto for helping out why my lack of make knowledge of old fashioned suffix rules :) (From OE-Core rev: 7be8010186889cece97829025d97d94f21c1f2e5) Signed-off-by: Richard Purdie --- .../btrfs-progs-fix-parallel-build2.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch') diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch new file mode 100644 index 0000000000..af1a7606c4 --- /dev/null +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch @@ -0,0 +1,27 @@ +btrfs-progs: Fix parallel build + +Upstream-Status: Pending + +"make btrfs.o" fails unable to find version.h. + +This adds version.h as a dependency for all .o files and fixes various parallel +build failures. + +RP 20/9/2013 +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: git/Makefile +=================================================================== +--- git.orig/Makefile 2013-09-20 14:45:34.307723221 +0000 ++++ git/Makefile 2013-09-20 16:06:45.503611030 +0000 +@@ -76,7 +76,7 @@ + check = true + endif + +-.c.o: ++%.o: %.c version.h + $(Q)$(check) $< + @echo " [CC] $@" + $(Q)$(CC) $(DEPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c $< -- cgit v1.2.3-54-g00ecf