blob: 460a89869116042eac1c6e7d2c1b39339449ea39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
SUMMARY = "XFS Filesystem Utilities"
HOMEPAGE = "http://oss.sgi.com/projects/xfs"
SECTION = "base"
LICENSE = "GPLv2 & LGPLv2.1"
LICENSE_libhandle = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://doc/COPYING;md5=dbdb5f4329b7e7145de650e9ecd4ac2a"
DEPENDS = "util-linux"
SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${BP}.tar.gz \
file://xfsprogs-generate-crctable-which-is-moved-into-runti.patch \
file://remove-install-as-user.patch \
file://drop-configure-check-for-aio.patch \
"
SRC_URI[md5sum] = "9f383e36682709e62b12c125e5d8b895"
SRC_URI[sha256sum] = "7a5124a880997939551b519610a2e54bd4cd0b0adfd563ce3f4de30827109ac9"
inherit autotools-brokensep
PACKAGES =+ "${PN}-fsck ${PN}-mkfs libhandle"
RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs"
FILES_${PN}-fsck = "${base_sbindir}/fsck.xfs"
FILES_${PN}-mkfs = "${base_sbindir}/mkfs.xfs"
FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}"
EXTRA_OECONF = "--enable-gettext=no"
do_configure () {
# Prevent Makefile from calling configure without arguments,
# when do_configure gets called for a second time.
rm -f include/builddefs include/platform_defs.h
# Recreate configure script.
rm -f configure
oe_runmake configure
# Configure.
export DEBUG="-DNDEBUG"
gnu-configize --force
oe_runconf
}
LIBTOOL = "${HOST_SYS}-libtool"
EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
TARGET_CC_ARCH += "${LDFLAGS}"
PARALLEL_MAKE = ""
do_install () {
export DIST_ROOT=${D}
oe_runmake install
# needed for xfsdump
oe_runmake install-dev
}
# http://errors.yoctoproject.org/Errors/Details/83236/
PNBLACKLIST[xfsprogs] ?= "BROKEN: Needs upgrade to 4.5.0 version to be compatible with Kernel uapi changes from 4.5"
|