diff options
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 269069f3af..d27e535605 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -89,6 +89,12 @@ EXTRA_OEMAKE += "\ | |||
89 | 'infodir=${@oe.path.relative(prefix, infodir)}' \ | 89 | 'infodir=${@oe.path.relative(prefix, infodir)}' \ |
90 | " | 90 | " |
91 | 91 | ||
92 | # PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h | ||
93 | # prevents 64-bit userland from seeing this definition, instead defaulting | ||
94 | # to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get | ||
95 | # int-ll64.h included. | ||
96 | EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' | ||
97 | |||
92 | PARALLEL_MAKE = "" | 98 | PARALLEL_MAKE = "" |
93 | 99 | ||
94 | do_compile() { | 100 | do_compile() { |