summaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb')
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb64
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb
new file mode 100644
index 0000000000..33847a86d7
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb
@@ -0,0 +1,64 @@
1SUMMARY = "XFS Filesystem Utilities"
2HOMEPAGE = "http://oss.sgi.com/projects/xfs"
3SECTION = "base"
4LICENSE = "GPL-2.0-only & LGPL-2.1-only"
5LICENSE:libhandle = "LGPL-2.1-only"
6LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97 \
7 file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd"
8
9SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \
10 file://remove_flags_from_build_flags.patch \
11 file://0001-include-include-xfs-linux.h-after-sys-mman.h.patch \
12 file://0002-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch \
13 file://0003-doc-man-support-reproducible-builds.patch \
14 "
15
16SRC_URI[sha256sum] = "3a6dc7b1245ce9bccd197bab00691f1b190bd3694d3ccc301d21b83afc133199"
17
18inherit autotools-brokensep pkgconfig
19
20DEPENDS = "util-linux util-linux-native libinih liburcu"
21
22PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle"
23
24RDEPENDS:${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair python3-core bash"
25
26FILES:${PN}-fsck = "${sbindir}/fsck.xfs"
27FILES:${PN}-mkfs = "${sbindir}/mkfs.xfs"
28FILES:${PN}-repair = "${sbindir}/xfs_repair"
29
30FILES:libhandle = "${libdir}/libhandle${SOLIBS}"
31
32EXTRA_OECONF = "--enable-gettext=no \
33 --enable-scrub=no \
34 INSTALL_USER=root \
35 INSTALL_GROUP=root \
36 ac_cv_header_aio_h=yes \
37 ac_cv_lib_rt_lio_listio=yes \
38 OPTIMIZER='${SELECTED_OPTIMIZATION}' \
39"
40
41DISABLE_STATIC = ""
42EXTRA_AUTORECONF += "-I ${S}/m4 --exclude=autoheader"
43
44export DEBUG = "-DNDEBUG"
45export BUILD_VERBOSE = "1"
46export tagname = "CC"
47
48EXTRA_OEMAKE = "DIST_ROOT='${D}'"
49
50do_configure() {
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}/configure
55 # Recreate configure script.
56 oe_runmake configure
57 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
58 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
59 oe_runconf
60}
61
62do_install:append() {
63 oe_runmake 'DESTDIR=${D}' install-dev
64}