build own linux kernel fails

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

build own linux kernel fails

1,378 次查看
floriankoenig
Contributor II

hi,

i try to build a linux kernel from my own sources. I created a kernel.bb file in mylayer/recipes-kernel/linux/   created a directory mylayer/recipes-kernel/linux/files  where i put the kernel.zip file ,the defconfig file and the Fix-the-compile-issue-under-gcc6.patch.  

Inside the kernel.bb file i put 

SRC_URI = "file://kernel.zip file://Fix-the-compile-issue-under-gcc6.patch  file://defconfig"

S = "${WORKDIR}/my-unpacked-kernel-dir-name"

B = "${WORKDIR}/build"

SCMVERSION = "n"

COMPATIBLE_MACHINE = "(mx6)"

But when i run bitbake virtual/kernel it returns:

recipe for target 'kernel/timeconst.h' failed

recipe for target "kernel" failed

what do i miss ?

标签 (3)
0 项奖励
回复
1 回复

1,147 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Helo Florian Koenig,

Did you add your new layer to the bblayers.conf list and can you see the new kernel recipe on bitbake? The reason why I’m asking is that it’s possible that there are problems with who provides the kernel on your environment. If bitbake can see the recipe, have you tried baking it directly?

Regards,

0 项奖励
回复