summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/btrfs-tools
diff options
context:
space:
mode:
authorYevhen Kyriukha <kirgene@gmail.com>2013-08-04 19:00:11 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-06 12:39:57 +0100
commit3b0be885c48b748c3f0531fa5b73f229453f6814 (patch)
tree7a5252c0af545573a9782d2da23427bf6171b2d9 /meta/recipes-devtools/btrfs-tools
parent63017172dadb62d8baea9b6c6a22de9d1860cccf (diff)
downloadpoky-3b0be885c48b748c3f0531fa5b73f229453f6814.tar.gz
btrfs-tools: upgrade to upstream revision.
Two patches were removed because changes that they provide are already exist. (From OE-Core rev: 6de68622c0658e1bba509c66c137eb419cdbdabf) Signed-off-by: Yevhen Kyriukha <kirgene@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools')
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/fix_race_condition_with_multithreaded_make.patch36
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/fix_use_of_gcc.patch31
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb13
3 files changed, 3 insertions, 77 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix_race_condition_with_multithreaded_make.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix_race_condition_with_multithreaded_make.patch
deleted file mode 100644
index 40175b8ffa..0000000000
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix_race_condition_with_multithreaded_make.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1Upstream-Status: Pending
2
3Fix makefile for multithreaded (make -j ) building.
4
5btrfsctl.c
6| i586-poky-linux-gcc -m32 -march=i586 --sysroot=/intel/poky/builds/world/tmp/sysroots/qemux86 -Wp,-MMD,./.btrfsctl.o.d,-MT,btrfsctl.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -pipe -g -feliminate-unused-debug-types -c btrfsctl.c
7| btrfsctl.c:37:21: fatal error: version.h: No such file or directory
8| compilation terminated.
9| btrfslabel.c:40:21: fatal error: version.h: No such file or directory
10| compilation terminated.
11
12Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
132012/01/02
14
15Index: git/Makefile
16===================================================================
17--- git.orig/Makefile
18+++ git/Makefile
19@@ -26,14 +26,13 @@ else
20 check = ls
21 endif
22
23-.c.o:
24+%.o: %.c version.h
25 $(check) $<
26 $(CC) $(DEPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c $<
27
28+all: $(progs) manpages
29
30-all: version $(progs) manpages
31-
32-version:
33+version.h: version.sh
34 bash version.sh
35
36 btrfs: $(objects) btrfs.o btrfs_cmds.o scrub.o
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix_use_of_gcc.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix_use_of_gcc.patch
deleted file mode 100644
index 7f6594a343..0000000000
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools/fix_use_of_gcc.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1Nitin A Kamble <nitin.a.kamble@intel.com> 2011/06/09
2Upstream-Status: Pending
3
4Avoid these kinds of errors while doing cross build:
5
6| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build0/tmp/sysroots/qemux86 -Wp,-MMD,./.btrfsctl.o.d,-MT,btrfsctl.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -pipe -g -feliminate-unused-debug-types -c btrfsctl.c
7| gcc -O2 -pipe -g -feliminate-unused-debug-types -o btrfsctl btrfsctl.o ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o root-tree.o dir-item.o file-item.o inode-item.o inode-map.o crc32c.o rbtree.o extent-cache.o extent_io.o volumes.o utils.o btrfs-list.o -Wl,-O1 -Wl,--as-needed -luuid
8| /usr/bin/ld: i386 architecture of input file `btrfsctl.o' is incompatible with i386:x86-64 output
9| /usr/bin/ld: i386 architecture of input file `ctree.o' is incompatible with i386:x86-64 output
10
11Index: git/Makefile
12===================================================================
13--- git.orig/Makefile
14+++ git/Makefile
15@@ -41,13 +41,13 @@ btrfs: $(objects) btrfs.o btrfs_cmds.o s
16 $(objects) $(LDFLAGS) $(LIBS)
17
18 calc-size: $(objects) calc-size.o
19- gcc $(CFLAGS) -o calc-size calc-size.o $(objects) $(LDFLAGS) $(LIBS)
20+ $(CC) $(CFLAGS) -o calc-size calc-size.o $(objects) $(LDFLAGS) $(LIBS)
21
22 find-root: $(objects) find-root.o
23- gcc $(CFLAGS) -o find-root find-root.o $(objects) $(LDFLAGS) $(LIBS)
24+ $(CC) $(CFLAGS) -o find-root find-root.o $(objects) $(LDFLAGS) $(LIBS)
25
26 restore: $(objects) restore.o
27- gcc $(CFLAGS) -o restore restore.o $(objects) $(LDFLAGS) $(LIBS) $(RESTORE_LIBS)
28+ $(CC) $(CFLAGS) -o restore restore.o $(objects) $(LDFLAGS) $(LIBS) $(RESTORE_LIBS)
29
30 btrfsctl: $(objects) btrfsctl.o
31 $(CC) $(CFLAGS) -o btrfsctl btrfsctl.o $(objects) $(LDFLAGS) $(LIBS)
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb
index ef575ae718..07e8529a9d 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb
@@ -12,21 +12,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
12SECTION = "base" 12SECTION = "base"
13DEPENDS = "util-linux attr" 13DEPENDS = "util-linux attr"
14 14
15SRCREV = "fdb6c0402337d9607c7a39155088eaf033742752" 15SRCREV = "194aa4a1bd6447bb545286d0bcb0b0be8204d79f"
16SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git;protocol=git" 16SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git;protocol=git"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20PV = "0.19+git${SRCPV}" 20PV = "0.20+git${SRCPV}"
21 21
22PR = "r6" 22SRC_URI += "file://weak-defaults.patch"
23
24SRC_URI += " file://fix_use_of_gcc.patch \
25 file://weak-defaults.patch \
26 file://fix_race_condition_with_multithreaded_make.patch "
27
28SRC_URI[md5sum] = "78b1700d318de8518abfaab71f99a885"
29SRC_URI[sha256sum] = "1285774e0cb72984fac158dd046c8d405324754febd30320cd31e459253e4b65"
30 23
31do_install () { 24do_install () {
32 oe_runmake 'DESTDIR=${D}' install 25 oe_runmake 'DESTDIR=${D}' install