aboutsummaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.17.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-23 05:38:55 +0000
committerKhem Raj <raj.khem@gmail.com>2018-08-24 08:58:13 -0700
commite5d94825eafaca06f9acc9bccf9a20cf9b7b519a (patch)
treee64fe2bac48010a6f41f0a3a9505f56fea35c5cc /meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.17.0.bb
parent7d1f239d2f2c653c458baee6f2997b5ec8ebc7d3 (diff)
downloadmeta-openembedded-e5d94825eafaca06f9acc9bccf9a20cf9b7b519a.tar.gz
meta-openembedded-e5d94825eafaca06f9acc9bccf9a20cf9b7b519a.tar.bz2
meta-openembedded-e5d94825eafaca06f9acc9bccf9a20cf9b7b519a.zip
xfsprogs: Fix build on mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.17.0.bb')
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.17.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.17.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.17.0.bb
index 06f774d87..ee571ce86 100644
--- a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.17.0.bb
+++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.17.0.bb
@@ -9,6 +9,8 @@ SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \
file://remove_flags_from_build_flags.patch \
file://0001-build-Check-for-sync_file_range-libc-function.patch \
file://disable-xfs_scrub-build.patch \
+ file://0001-Check-for-MAP_SYNC-in-sys-mman.h.patch \
+ file://0002-include-include-xfs-linux.h-after-sys-mman.h.patch \
"
SRC_URI[md5sum] = "b935b693dfac0264e232c3c4e52d5569"
SRC_URI[sha256sum] = "f53f5169cb98cfca471ddea30092738c427ba284c5356e01b45dd1ae3b297e0d"
@@ -48,13 +50,14 @@ export tagname="CC"
EXTRA_OEMAKE = "DIST_ROOT='${D}'"
-do_configure_prepend () {
+do_configure () {
export BUILD_CC="${BUILD_CC} ${BUILD_CFLAGS}"
# Prevent Makefile from calling configure without arguments,
# when do_configure gets called for a second time.
rm -f ${B}/include/builddefs ${B}/include/platform_defs.h ${B}/configure
# Recreate configure script.
oe_runmake configure
+ oe_runconf
}
do_install_append() {