diff options
author | Ting Liu <ting.liu@freescale.com> | 2014-07-23 11:58:56 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 21:59:24 +0100 |
commit | 78a38c8ab296eeb773429ce709b33f764af2c26c (patch) | |
tree | b17f0c637e351a246541de48867e2ea9731b8548 /meta/recipes-kernel/perf | |
parent | be7eebef94ccd6a38faf15d073436456566e4bbc (diff) | |
download | poky-78a38c8ab296eeb773429ce709b33f764af2c26c.tar.gz |
perf: remove CFLAGS override
definition of __SANE_USERSPACE_TYPES__ was added in kernel source by
commit e3541ec75219819d3235f80125a1a75d798ff6e1
perf tools, powerpc: Fix compile warnings in tests/attr.c
Overriding the CFLAGS makes it impossible for kernel build system to
append to it, thus making the build fail in various ways as:
| CC /.../perf/1.0-r9/perf-1.0/perf.o
| In file included from builtin.h:4:0,
| from perf.c:9:
| util/util.h:74:24: fatal error: lk/debugfs.h: No such file or directory
| #include <lk/debugfs.h>
| ^
| compilation terminated.
(From OE-Core rev: 7e7063e495d6451b46e06d08d16f92d0597a7d11)
Signed-off-by: Ting Liu <ting.liu@freescale.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.bb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 20968f98cc..222ae83c37 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -92,13 +92,6 @@ EXTRA_OEMAKE += "\ | |||
92 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ | 92 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ |
93 | " | 93 | " |
94 | 94 | ||
95 | # PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h | ||
96 | # prevents 64-bit userland from seeing this definition, instead defaulting | ||
97 | # to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get | ||
98 | # int-ll64.h included. And MIPS64 has the same issue. | ||
99 | EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' | ||
100 | EXTRA_OEMAKE_append_mips64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' | ||
101 | |||
102 | PARALLEL_MAKE = "" | 95 | PARALLEL_MAKE = "" |
103 | 96 | ||
104 | do_compile() { | 97 | do_compile() { |