Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18347

Re: Error during Kernel Compilation: make: *** No rule to make target `bzImage'. Stop.

$
0
0

I had same problem on Ubuntu 12.04 x86_64, but I got workaround.

You can comment out two tasks, 'do_kernel_configme' and 'do_patch', in below file to build an image.

 

edison-src/device-software/meta-edison/recipes-kernel/linux/linux-yocto_3.10.bbappend

 

This is the patch.

<pre>

--- a/device-software/meta-edison/recipes-kernel/linux/linux-yocto_3.10.bbappend    2014-11-21 16:36:41.529017755 +0900

+++ b/device-software/meta-edison/recipes-kernel/linux/linux-yocto_3.10.bbappend    2014-11-21 15:13:47.549194709 +0900

@@ -9,10 +9,10 @@ SRC_URI += "file://upstream_to_edison.pa

do_configure() {

   cp "${WORKDIR}/defconfig" "${B}/.config"

}

-do_kernel_configme() {

-  cp "${WORKDIR}/defconfig" "${B}/.config"

-}

-do_patch() {

-  cd ${S}

-  git am "${WORKDIR}/upstream_to_edison.patch"

-}

+#do_kernel_configme() {

+#  cp "${WORKDIR}/defconfig" "${B}/.config"

+#}

+#do_patch() {

+#  cd ${S}

+#  git am "${WORKDIR}/upstream_to_edison.patch"

+#}

 

</pre>

 

'do_kernel_configme' is originally defined in edison-src/poky/meta/classes/kernel-yocto.bbclass.

This task creates kernel build directory, edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/linux-edison-standard-build,

for specific ${LINUX_KERNEL_TYPE} and ${KMACHINE} specified in your configuration from original kernel source.

However, this task is overridden by useless "just copy 'defconfig' to build dir" function in linux-yocto_3.10.bbappend,

thus when bitbake attempt to make bzImage, there are no file but .config in build dir, results fail.

 

Original 'do_patch' is also required to complete the job.


Viewing all articles
Browse latest Browse all 18347

Trending Articles