summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-03-13 12:52:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-15 08:38:28 +0000
commit22f8a749fa956c82a0fe39eeb6948bd2068eb63a (patch)
tree2fd72e5dc0e684dbe691fa8e8be06db9843f80d7
parent8f1816862b884f226c0ce7f5c89fd75b6791c007 (diff)
downloadopenembedded-core-contrib-22f8a749fa956c82a0fe39eeb6948bd2068eb63a.tar.gz
erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64
ppc64 historically has used l64 for defining u64 types in kernel asm/types.h defaults to use l64 by default but kernel uses ll64 now a days, therefore lets use same int-ll64.h to provide these defines like other architectures Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb
index 16014d5b20..e5e19e75b4 100644
--- a/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb
+++ b/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb
@@ -22,4 +22,6 @@ PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4"
EXTRA_OECONF = "${PACKAGECONFIG_CONFARGS} --disable-fuse"
+CFLAGS:append:powerpc64le = " -D__SANE_USERSPACE_TYPES__"
+
BBCLASSEXTEND = "native nativesdk"