<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Command line for target "libbtrfsutil/%.o" contained<br>double usage of '-o $@' option and causes compilation error:<br><br> cc1: error: too many filenames given<br><br>Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com><br>---<br> ...01-Makefile-fix-double-o-compiler-option-using.patch | 17 +++++++++++++++++<br> meta/recipes-devtools/btrfs-tools/btrfs-tools_4.20.1.bb | 1 +<br> 2 files changed, 18 insertions(+)<br> create mode 100644 meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-fix-double-o-compiler-option-using.patch<br><br>diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-fix-double-o-compiler-option-using.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-fix-dou$<br>le-o-compiler-option-using.patch<br>new file mode 100644<br>index 0000000000..335067bc1f<br>--- /dev/null<br>+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-fix-double-o-compiler-option-using.patch<br>@@ -0,0 +1,17 @@<br>+Command line for target "libbtrfsutil/%.o" contained double usage<br>+ of '-o $@' option and caused error:<br>+ cc1: error: too many filenames given<br>+<br>+Index: git/Makefile<br>+===================================================================<br>+--- git.orig/Makefile<br>++++ git/Makefile<br>+@@ -414,7 +414,7 @@ libbtrfs.so.0 libbtrfs.so: libbtrfs.so.0<br>+ <br>+ libbtrfsutil/%.o: libbtrfsutil/%.c<br>+ @echo " [CC] $@"<br>+- $(Q)$(CC) $(LIBBTRFSUTIL_CFLAGS) -o $@ -c $< -o $@<br>++ $(Q)$(CC) $(LIBBTRFSUTIL_CFLAGS) -c $< -o $@<br>+ <br>+ libbtrfsutil.so.$(libbtrfsutil_version): $(libbtrfsutil_objects)<br>+ @echo " [LD] $@"<br>diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.20.1.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.20.1.bb<br>index 1b4f515cb6..f1c4691313 100644<br>--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.20.1.bb<br>+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.20.1.bb<br>@@ -19,6 +19,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \<br> file://0001-Makefile-build-mktables-using-native-gcc.patch \<br> file://0001-Add-LDFLAGS-when-building-libbtrfsutil.so.patch \<br> file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \<br>+ file://0001-Makefile-fix-double-o-compiler-option-using.patch \<br> "<br> <br> inherit autotools-brokensep pkgconfig manpages distutils3-base<br>-- <br>2.14.1<br></div></div></body></html>