<div dir="ltr"><div><div><div><div><div><div><div>Hello all,<br><br></div>I'm trying to build external kernel module for example : cryptodev-module with yocto jethro based branch, but I get the follwoing error :<br><br>NOTE: Preparing RunQueue<br>WARNING: /home/inst/Projects/poky/build/../meta/recipes-kernel/cryptodev/cryptodev-module_1.7.bb.do_rm_work_all is tainted from a forced run<br>NOTE: Executing SetScene Tasks<br>NOTE: Executing RunQueue Tasks<br>ERROR: Function failed: do_make_scripts (log file is located at /home/inst/Projects/poky/build/tmp/work/shc-poky-linux-gnueabi/cryptodev-module/1.7-r0/temp/log.do_make_scripts.21222)<br>ERROR: Logfile of failure stored in: /home/inst/Projects/poky/build/tmp/work/shc-poky-linux-gnueabi/cryptodev-module/1.7-r0/temp/log.do_make_scripts.21222<br>Log data follows:<br>| DEBUG: Executing shell function do_make_scripts<br>| make: Entering directory `/home/inst/Projects/poky/build/tmp/work-shared/shc/kernel-source'<br>| make[1]: Entering directory `/home/inst/Projects/poky/build/tmp/work-shared/shc/kernel-build-artifacts'<br>|   HOSTCC  scripts/basic/fixdep<br>|   GEN     ./Makefile<br>|   HOSTCC  scripts/kconfig/conf.o<br>|   SHIPPED scripts/kconfig/zconf.tab.c<br>|   SHIPPED scripts/kconfig/zconf.lex.c<br>|   SHIPPED scripts/kconfig/zconf.hash.c<br>|   HOSTCC  scripts/kconfig/zconf.tab.o<br>|   HOSTLD  scripts/kconfig/conf<br>| scripts/kconfig/conf  --silentoldconfig Kconfig<br>| ***<br>| ***<b> Configuration file ".config" not found!</b><br>| ***<br>| *** Please run some configurator (e.g. "make oldconfig" or<br>| *** "make menuconfig" or "make xconfig").<br>| ***<br>| make[3]: *** [silentoldconfig] Error 1<br>| make[2]: *** [silentoldconfig] Error 2<br>| make[1]: *** No rule to make target `include/config/auto.conf', needed by `scripts'.  Stop.<br>| make[1]: Leaving directory `/home/inst/Projects/poky/build/tmp/work-shared/shc/kernel-build-artifacts'<br>| make: *** [sub-make] Error 2<br><br></div>I'm using a linux 4.1 mainline based kernel and I set the Kernel defconfig in my machine.conf as follow :<br><br>KBUILD_DEFCONFIG = "shc_defconfig"<br><br></div>The kernel and internal modules are built correctly.<br></div><br></div>Anyone facing the same issue ? how to fix that ?<br><br></div>Cheers,<br><br></div>Ayoub Zaki<br><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div>