diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-01-19 14:40:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-20 12:58:56 +0000 |
commit | a3ca06c3b45c791dd38dbf154ad0fc62b4063475 (patch) | |
tree | c9f9ac7f1b93869418e901794d1179f300f3d140 /meta/site | |
parent | e344f3e7d5c74735e58c85ec90521395a4cf9b01 (diff) | |
download | ast2050-yocto-poky-a3ca06c3b45c791dd38dbf154ad0fc62b4063475.zip ast2050-yocto-poky-a3ca06c3b45c791dd38dbf154ad0fc62b4063475.tar.gz |
kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC
kernel compiler is not special and we currently have it so
we want to pass -march and -mtune options as CFLAGS to kernel
build so that compiler picks the right subarch flags when
compiling assembly files in particular. Otherwise defaults
are chosen which may not be right in many case e.g. when
compiling kernel for collie machine we should use arch=armv4
but it uses toolchain/as defaults which is armv5te
in some case e.g. thumb1 we know that kernel can not be compiled
in thumb1 mode so we can provide that information e.g. -marm
option through KERNEL_HOST_CC_ARCH variable as we do now
(From OE-Core rev: c49f967384ccbfe131bbb33ee518014f3fc4b38f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site')
0 files changed, 0 insertions, 0 deletions