path: root/meta/recipes-support/consolekit
diff options
authorKhem Raj <>2013-01-19 14:40:03 -0800
committerRichard Purdie <>2013-01-20 12:47:41 +0000
commitc49f967384ccbfe131bbb33ee518014f3fc4b38f (patch)
tree408fddf3068163a78806de77a68457b80c3e017d /meta/recipes-support/consolekit
parent58731bbdbd4ab4cfd560f14758a65efdfad2e28f (diff)
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 Signed-off-by: Khem Raj <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-support/consolekit')
0 files changed, 0 insertions, 0 deletions