[yocto] No rule to make target 'zImage'

JH jupiter.hce at gmail.com
Mon Sep 30 14:16:57 PDT 2019


Hi,

I am building Yocto, it stopped at building kernel "No rule to make
target 'zImage'", what I could be missing?

Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6 HOSTCC=gcc
-isystem/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/recipe-sysroot-native/usr/include
-O2 -pipe -L/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/recipe-sysroot-native/usr/lib
-L/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/recipe-sysroot-native/lib
-Wl,-rpath-link,/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/recipe-sysroot-native/usr/lib
-Wl,-rpath-link,/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/recipe-sysroot-native/lib
-Wl,-rpath,/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/recipe-sysroot-native/usr/lib
-Wl,-rpath,/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/recipe-sysroot-native/lib
-Wl,-O1 HOSTCPP=gcc  -E zImage CC=arm-oe-linux-gnueabi-gcc
-mno-thumb-interwork -marm -fuse-ld=bfd
-fdebug-prefix-map=/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0=/usr/src/debug/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0
-fdebug-prefix-map=/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/recipe-sysroot=
-fdebug-prefix-map=/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/recipe-sysroot-native=
 -fdebug-prefix-map=/build/Kernel5.3/build/tmp-glibc/work-shared/yocto/kernel-source=/usr/src/kernel
  LD=arm-oe-linux-gnueabi-ld.bfd
| make: *** No rule to make target 'zImage'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/build/Kernel5.3/build/tmp-glibc/work/yocto-oe-linux-gnueabi/linux-yocto/5.3.0+gitAUTOINC+4d856f72c1-r0/temp/log.do_compile.7842)

Thank you.

Kind regards.


More information about the yocto mailing list