]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: unset LDFLAGS when run devshell in kernel recipe
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Fri, 20 Sep 2013 05:45:46 +0000 (14:45 +0900)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Oct 2013 15:54:26 +0000 (16:54 +0100)
commite36ac3ab3a7fe02c7eeb3998ff33c001ab795841
tree890a508002bd852fa7eed1ea6dd3c84ec2d549c7
parent8268ce9997e77a4ef6aa990ca7566cf3ed14c746
kernel.bbclass: unset LDFLAGS when run devshell in kernel recipe

When user runs devshell in kernel recipe and compiles kernel,
this will fail by unrecognized option of LD.

----
$ make
...
arm-poky-linux-gnueabi-ld: unrecognized option '-Wl,-O1'
arm-poky-linux-gnueabi-ld: use the --help option for usage information
----

This set to empty LDFLAGS when user runs the devshell, and solve this problem.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass