generic-poky/meta/recipes-kernel
Otavio Salvador e624d737b7 perf: Ensure we use CFLAGS and LDFLAGS settings from kernel build system
The kernel build system does the right thing here and we should stop
overriding it. This code has been added based on a change from
'meta-metro' layer, revision 9d698004137c1a888d40d6a4808d94afa22387e7,
without any information about what problem it fixes so I am reverting
it.

Using the CFLAGS and LDFLAGS makes it impossible for kernel build
system to append to it, thus making the build fail in various ways as:

|     CC /.../perf/1.0-r8/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.

The unset is done in do_compile and do_install otherwise it /rebuild/
perf as it detects the compiler options has change.

(From OE-Core rev: 2e90f8846db0f3ed99a175befff9ec67fe12bc4e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-17 20:53:56 +01:00
..
blktrace remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
dtc remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
kern-tools kern-tools: support no author patches 2013-09-06 23:04:53 +01:00
kexec kexec-tools: upgraded to 2.0.4 2013-05-12 09:37:30 +01:00
kmod kmod: avoid parallel-tests 2013-09-10 15:57:20 +01:00
latencytop Upstream-Status: Correct capitalization 2013-07-18 21:23:43 +01:00
libpfm libpfm4_4.3.0.bb: use compatible host to limit arches 2013-03-05 13:14:51 +00:00
linux linux-yocto/3.10: genericx86 meta data factoring 2013-09-14 08:36:26 +01:00
linux-firmware linux-firmware: Update SRCREV, pull in iwlwifi-7260 support 2013-09-06 23:04:53 +01:00
linux-libc-headers linux-libc-headers: do_install: fix "Argument list too long" error 2013-09-17 19:34:55 +01:00
lttng lttng: Enable ptest support. 2013-09-14 08:29:42 +01:00
modutils-initscripts modutils-initscripts: improve modutils.sh 2013-01-18 13:28:07 +00:00
oprofile oprofileui-server: Add systemd support 2013-09-14 08:29:41 +01:00
perf perf: Ensure we use CFLAGS and LDFLAGS settings from kernel build system 2013-09-17 20:53:56 +01:00
powertop powertop: upgrade to 2.4 2013-08-03 10:33:06 +01:00
sysprof remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
systemtap remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
trace-cmd remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00