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

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

$
0
0

I met the same issue even I'm using recommended Ubuntu 12.04.

 

Before I add the edison source to my local git, it works well besides known libwebsockets issue.

After I commit the eidson source to my local git, I start to meet the error message shown in the original post.

 

After I digging into it, I've found the root cause.

It is because there're some patching commands in setup.sh using git apply.

Before I add the source to my local git, these git apply works well. After adding the source to the git, these commands fail to do the patch but exit without any error message.

I replace them using patch command, then everything back to normal.

 

Hope this can help you guys.

 

--- a/edison-src/device-software/setup.sh

+++ b/edison-src/device-software/setup.sh

@@ -239,13 +239,13 @@ COPYLEFT_LICENSE_INCLUDE = 'GPL* LGPL*'

   # Apply patch on top of it allowing to perform build in external source directory

   #echo "Applying patch on it"

   cd $poky_dir

-  git apply --whitespace=nowarn $my_dir/device-software/utils/fix-gcc49-binutils.patch

-  git apply $my_dir/device-software/utils/0001-kernel-kernel-yocto-fix-external-src-builds-when-S-B-poky-dora.patch

-  git apply $my_dir/device-software/utils/gcc-Clean-up-configure_prepend-and-fix-for-mingw.patch

-  git apply $my_dir/device-software/utils/sdk-populate-clean-broken-links.patch

-  git apply $my_dir/device-software/utils/fix-sshd-varloglastlog-warning.patch

-  git apply --whitespace=nowarn $my_dir/device-software/utils/0001-bash-fix-CVE-2014-6271.patch

-  git apply --whitespace=nowarn $my_dir/device-software/utils/0002-bash-Fix-CVE-2014-7169.patch

+  patch -p1 < $my_dir/device-software/utils/fix-gcc49-binutils.patch

+  patch -p1 < $my_dir/device-software/utils/0001-kernel-kernel-yocto-fix-external-src-builds-when-S-B-poky-dora.patch

+  patch -p1 < $my_dir/device-software/utils/gcc-Clean-up-configure_prepend-and-fix-for-mingw.patch

+  patch -p1 < $my_dir/device-software/utils/sdk-populate-clean-broken-links.patch

+  patch -p1 < $my_dir/device-software/utils/fix-sshd-varloglastlog-warning.patch

+  patch -p1 < $my_dir/device-software/utils/0001-bash-fix-CVE-2014-6271.patch

+  patch -p1 < $my_dir/device-software/utils/0002-bash-Fix-CVE-2014-7169.patch


Viewing all articles
Browse latest Browse all 19528

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>