summaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.14.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.14.0.bb')
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.14.0.bb63
1 files changed, 63 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.14.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.14.0.bb
new file mode 100644
index 000000000..5d76afe00
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.14.0.bb
@@ -0,0 +1,63 @@
1SUMMARY = "XFS Filesystem Utilities"
2HOMEPAGE = "http://oss.sgi.com/projects/xfs"
3SECTION = "base"
4LICENSE = "GPLv2 & LGPLv2.1"
5LICENSE_libhandle = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://doc/COPYING;md5=102f7fec3d53c7c8f0b7baf9bf9d76a8"
7DEPENDS = "util-linux util-linux-native"
8SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \
9 file://remove_flags_from_build_flags.patch \
10 file://0001-build-Check-for-sync_file_range-libc-function.patch \
11 "
12SRC_URI[md5sum] = "2d50e3751cc98e6c9364bc3d2297b9fd"
13SRC_URI[sha256sum] = "b1b710b268bc95d6f45eca06e1262c29eb38865a19cd4404e48ba446e043b7ec"
14
15inherit autotools-brokensep
16
17PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle"
18
19DEPENDS += "util-linux"
20
21RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair"
22
23FILES_${PN}-fsck = "${base_sbindir}/fsck.xfs"
24FILES_${PN}-mkfs = "${base_sbindir}/mkfs.xfs"
25FILES_${PN}-repair = "${base_sbindir}/xfs_repair"
26
27FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}"
28
29EXTRA_OECONF = "--enable-gettext=no \
30 INSTALL_USER=root \
31 INSTALL_GROUP=root \
32 ac_cv_header_aio_h=yes \
33 ac_cv_lib_rt_lio_listio=yes \
34"
35
36DISABLE_STATIC = ""
37EXTRA_AUTORECONF += "-I ${S}/m4 --exclude=autoheader"
38
39PACKAGECONFIG ??= "readline blkid"
40
41PACKAGECONFIG[readline] = "--enable-readline=yes,--enable-readline=no,readline"
42PACKAGECONFIG[blkid] = "--enable-blkid=yes,--enable-blkid=no,util-linux"
43
44export DEBUG="-DNDEBUG"
45export BUILD_VERBOSE="1"
46export tagname="CC"
47
48EXTRA_OEMAKE = "DIST_ROOT='${D}'"
49
50do_configure_prepend () {
51 export BUILD_CC="${BUILD_CC} ${BUILD_CFLAGS}"
52 # Prevent Makefile from calling configure without arguments,
53 # when do_configure gets called for a second time.
54 rm -f ${B}/include/builddefs ${B}/include/platform_defs.h ${B}/configure
55 # Recreate configure script.
56 oe_runmake configure
57}
58
59do_install_append() {
60 oe_runmake 'DESTDIR=${D}' install-dev
61 rm ${D}${libdir}/*.la
62 rmdir --ignore-fail-on-non-empty ${D}${libdir}
63}