]> code.ossystems Code Review - openembedded-core.git/commit
tune-ppce500mc.inc: pass -mcpu=e500mc for ppce500mc kernel compile
authorZhenhua Luo <zhenhua.luo@nxp.com>
Tue, 28 Jun 2016 07:25:07 +0000 (15:25 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 10 Jul 2016 13:12:07 +0000 (14:12 +0100)
commitb17f91ed06a604e3d356fe17756bfe2ca61594b7
tree2fce661be1e195221f58c494bff665570c88d23c
parent016e4a53e3251ffcdb3c260dd2837507b520ffa6
tune-ppce500mc.inc: pass -mcpu=e500mc for ppce500mc kernel compile

Currently the -mcpu parameter is not passed to cross gcc when assembling
kernel .S file, the implicit -mcpu option that defaults to the latest
server cpu might casuse incorrect assembling.

A existent case is that wait instruction of ppce500mc is incorrectly assembled
to power9 version with default -mcpu setting, accordingly kernel boot calltrace
happend when wait instruction is executed on ppce500mc targets.

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/machine/include/tune-ppce500mc.inc