diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2013-10-26 03:53:16 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-12 17:00:02 +0000 |
commit | 5dacc786592e38dd2be7fe4432e75180f36407f2 (patch) | |
tree | e60cd2ac7b72ee2ef2765519de6ba3fd5c9eecfb /meta | |
parent | 76e0ce8229492c730b7d0af14c73f40c21c21ae1 (diff) | |
download | poky-5dacc786592e38dd2be7fe4432e75180f36407f2.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.
(From OE-Core master rev: d6f3cb0d71c3b6739365f085b6d5a5e20f329fa5)
(From OE-Core rev: 9c4b604ea0d81bc1de224b35ae160f87be6bcf7b)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 3 |
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 += "\ | |||
92 | # PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h | 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 | 93 | # prevents 64-bit userland from seeing this definition, instead defaulting |
94 | # to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get | 94 | # to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get |
95 | # int-ll64.h included. | 95 | # int-ll64.h included. And MIPS64 has the same issue. |
96 | EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' | 96 | EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' |
97 | EXTRA_OEMAKE_append_mips64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' | ||
97 | 98 | ||
98 | PARALLEL_MAKE = "" | 99 | PARALLEL_MAKE = "" |
99 | 100 | ||