linux26: do not set CFLAGS_KERNEL to TARGET_CFLAGS
authorSven Neumann <s.neumann@raumfeld.com>
Wed, 22 Jul 2009 12:25:05 +0000 (14:25 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 22 Jul 2009 20:43:51 +0000 (22:43 +0200)
commit7bb5ce002cd9ecd697ed4defd912d3f0de02319b
treeb591d25c6d722eba9503fade34fd1b2283471aa7
parent8232850c51e07b99ba84769b492faa147290fdc7
linux26: do not set CFLAGS_KERNEL to TARGET_CFLAGS

Using TARGET_CFLAGS breaks the kernel build for the arm platform. The
result is a kernel that can not be booted. So simply do not fiddle with
the CFLAGS on a kernel build and the kernel build system will do the
right thing (TM).

[Peter: do the same thing for the standard kernel build]

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
target/linux/Makefile.in
target/linux/Makefile.in.advanced