AnsweredAssumed Answered

build own linux kernel fails

Question asked by florian koenig on Jun 14, 2017
Latest reply on Jun 14, 2017 by gusarambula

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 ?

Outcomes