generic-poky/meta/recipes-kernel/linux
Liang Li 9a1705ef80 kernel.bbclass: fix INC directory for SLANG
In the kernel's tools/perf/Makefile CFLAGS was previously hard coded to
contain "-I/usr/include/slang" to work with hosts that have
"/usr/include/slang/slang.h" as well as hosts that have
"/usr/include/slang.h". This path can cause compile warnings like:

  cc1: warning: '/usr/include/slang' doesn't exists.

  or

  cc1: warning: include location "/usr/include/slang" is unsafe for
  cross-compilation [-Wpoison-system-directories]

Then in some cases warnings become errors if WERROR is enabled hence
build errors.

In coordination with a kernel fix, we can fix this error for all
kernels by modifying the perf Makefile within the staged kernel
source.

(From OE-Core rev: 4e0daf05ed04e9fb4343032c6290a379f53b89f3)

Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-25 14:47:00 +01:00
..
linux-dummy linux-dummy: add license and LIC_FILES_CHKSUM 2011-01-20 21:36:59 +00:00
linux-yocto kernel.bbclass: fix INC directory for SLANG 2012-08-25 14:47:00 +01:00
linux-dtb.inc Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
linux-dummy.bb linux-dummy: add license and LIC_FILES_CHKSUM 2011-01-20 21:36:59 +00:00
linux-yocto-rt_3.0.bb linux-yocto/3.0: update meta SRCREV 2012-08-19 10:46:00 +01:00
linux-yocto-rt_3.2.bb linux-yocto/rt: update BSP preempt-rt.scc files to enable live boot 2012-07-26 14:55:21 +01:00
linux-yocto-rt_3.4.bb linux-yocto/3.4: BSP, uprobes, config and cleanups 2012-08-19 10:45:55 +01:00
linux-yocto-tiny_3.2.bb linux-yocto-tiny: set default branch 2012-08-19 10:45:59 +01:00
linux-yocto.inc kernel: Add kernel headers to kernel-dev package 2012-07-04 17:40:33 +01:00
linux-yocto_3.0.bb kernel.bbclass: fix INC directory for SLANG 2012-08-25 14:47:00 +01:00
linux-yocto_3.2.bb kernel.bbclass: fix INC directory for SLANG 2012-08-25 14:47:00 +01:00
linux-yocto_3.4.bb kernel.bbclass: fix INC directory for SLANG 2012-08-25 14:47:00 +01:00