M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions
@@ -0,0 +1,36 @@
Upstream-Status: Pending
Fix makefile for multithreaded (make -j ) building.
btrfsctl.c
| 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
| btrfsctl.c:37:21: fatal error: version.h: No such file or directory
| compilation terminated.
| btrfslabel.c:40:21: fatal error: version.h: No such file or directory
| compilation terminated.
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2012/01/02
Index: git/Makefile
===================================================================
--- git.orig/Makefile
+++ git/Makefile
@@ -26,14 +26,13 @@ else
check = ls
endif
-.c.o:
+%.o: %.c version.h
$(check) $<
$(CC) $(DEPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c $<
+all: $(progs) manpages
-all: version $(progs) manpages
-
-version:
+version.h: version.sh
bash version.sh
btrfs: $(objects) btrfs.o btrfs_cmds.o scrub.o
@@ -0,0 +1,31 @@
Nitin A Kamble <nitin.a.kamble@intel.com> 2011/06/09
Upstream-Status: Pending
Avoid these kinds of errors while doing cross build:
| 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
| 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
| /usr/bin/ld: i386 architecture of input file `btrfsctl.o' is incompatible with i386:x86-64 output
| /usr/bin/ld: i386 architecture of input file `ctree.o' is incompatible with i386:x86-64 output
Index: git/Makefile
===================================================================
--- git.orig/Makefile
+++ git/Makefile
@@ -41,13 +41,13 @@ btrfs: $(objects) btrfs.o btrfs_cmds.o s
$(objects) $(LDFLAGS) $(LIBS)
calc-size: $(objects) calc-size.o
- gcc $(CFLAGS) -o calc-size calc-size.o $(objects) $(LDFLAGS) $(LIBS)
+ $(CC) $(CFLAGS) -o calc-size calc-size.o $(objects) $(LDFLAGS) $(LIBS)
find-root: $(objects) find-root.o
- gcc $(CFLAGS) -o find-root find-root.o $(objects) $(LDFLAGS) $(LIBS)
+ $(CC) $(CFLAGS) -o find-root find-root.o $(objects) $(LDFLAGS) $(LIBS)
restore: $(objects) restore.o
- gcc $(CFLAGS) -o restore restore.o $(objects) $(LDFLAGS) $(LIBS) $(RESTORE_LIBS)
+ $(CC) $(CFLAGS) -o restore restore.o $(objects) $(LDFLAGS) $(LIBS) $(RESTORE_LIBS)
btrfsctl: $(objects) btrfsctl.o
$(CC) $(CFLAGS) -o btrfsctl btrfsctl.o $(objects) $(LDFLAGS) $(LIBS)
@@ -0,0 +1,31 @@
Upstream-Status: Pending
Allow mandir to be set from the environment, fixing the following packaging warnings:
WARNING: For recipe btrfs-tools, the following files were installed but not shipped in any package:
WARNING: /usr/man/man8/btrfs-show.8.gz
WARNING: /usr/man/man8/btrfs-image.8.gz
WARNING: /usr/man/man8/btrfsctl.8.gz
WARNING: /usr/man/man8/btrfs.8.gz
WARNING: /usr/man/man8/btrfsck.8.gz
WARNING: /usr/man/man8/mkfs.btrfs.8.gz
RP - 5/7/2011
Index: git/man/Makefile
===================================================================
--- git.orig/man/Makefile 2011-07-05 22:03:58.949919067 +0100
+++ git/man/Makefile 2011-07-05 22:04:07.789919856 +0100
@@ -2,9 +2,9 @@
INSTALL= install
prefix ?= /usr/local
-bindir = $(prefix)/bin
-mandir = $(prefix)/man
-man8dir = $(mandir)/man8
+bindir ?= $(prefix)/bin
+mandir ?= $(prefix)/man
+man8dir ?= $(mandir)/man8
MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz btrfs-image.8.gz \
btrfs-show.8.gz btrfs.8.gz
@@ -0,0 +1,32 @@
SUMMARY = "Checksumming Copy on Write Filesystem utilities"
DESCRIPTION = "Btrfs is a new copy on write filesystem for Linux aimed at \
implementing advanced features while focusing on fault tolerance, repair and \
easy administration. \
This package contains utilities (mkfs, fsck, btrfsctl) used to work with \
btrfs and an utility (btrfs-convert) to make a btrfs filesystem from an ext3."
HOMEPAGE = "https://btrfs.wiki.kernel.org"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
SECTION = "base"
DEPENDS = "util-linux attr"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git;protocol=git;tag=fdb6c0402337d9607c7a39155088eaf033742752;branch=master"
S = "${WORKDIR}/git"
PR = "r6"
SRC_URI += " file://fix_use_of_gcc.patch \
file://weak-defaults.patch \
file://fix_race_condition_with_multithreaded_make.patch "
SRC_URI[md5sum] = "78b1700d318de8518abfaab71f99a885"
SRC_URI[sha256sum] = "1285774e0cb72984fac158dd046c8d405324754febd30320cd31e459253e4b65"
do_install () {
oe_runmake 'DESTDIR=${D}' install
}
BBCLASSEXTEND = "native"