aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2013-10-26 03:53:16 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-26 15:59:50 +0100
commitd6f3cb0d71c3b6739365f085b6d5a5e20f329fa5 (patch)
tree5bdcbc315310b80ba1baf4a66d46e5d26cbc9e81 /meta/recipes-kernel/perf
parent95618d6d5c4f8e5f0aec632d35e02ad5a33a1f75 (diff)
downloadopenembedded-core-contrib-d6f3cb0d71c3b6739365f085b6d5a5e20f329fa5.tar.gz
perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64
As the same reason to powerpc64, mips64 also need the flag. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r--meta/recipes-kernel/perf/perf.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index d27e535605..903ffa6eaf 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -92,8 +92,9 @@ EXTRA_OEMAKE += "\
# PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
# prevents 64-bit userland from seeing this definition, instead defaulting
# to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get
-# int-ll64.h included.
+# int-ll64.h included. And MIPS64 has the same issue.
EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__'
+EXTRA_OEMAKE_append_mips64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__'
PARALLEL_MAKE = ""