All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64
@ 2022-03-13 19:52 Khem Raj
  0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2022-03-13 19:52 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

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>
---
 meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb | 2 ++
 1 file changed, 2 insertions(+)

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 16014d5b208..e5e19e75b43 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"
-- 
2.35.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-13 19:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-13 19:52 [PATCH] erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64 Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.