<div dir="ltr"><div><div><div><div><div><div>Hi All,<br></div>I am using poky-krogoth source and meta-altera layer. I am building kernel locally using externalsrc. while building external module i am getting error.<br><br><br><br><span style="color:rgb(255,0,0)">ERROR: Task do_make_scripts in</span> /home/praveenk/source/platform/build/../meta-skeleton/recipes-kernel/hello-mod/<a href="http://hello-mod_0.1.bb">hello-mod_0.1.bb</a> <span style="color:rgb(255,0,0)">depends upon non-existent task do_shared_workdir in</span> /home/praveenk/source/platform/build/../meta-altera/recipes-kernel/linux/<a href="http://linux-altera-ltsi_4.1.22.bb">linux-altera-ltsi_4.1.22.bb</a><br><span style="color:rgb(255,0,0)">ERROR: Command execution failed: 1<br></span><br></div><a href="http://linux.bb">linux.bb</a> contains<br><br>LINUX_VERSION = "4.1.22"<br>LINUX_VERSION_SUFFIX = "-ltsi"<br><br>include linux-altera.inc<br><br>SRC_URI = "file://${EXTERNALSRC}"<br><br>LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"<br><br>BUILD_DEFCONFIG = "socfpga_defconfig"<br>EXTERNALSRC = "${TOPDIR}/../meta-altera/recipes-kernel/linux/files"<br>EXTERNALSRC_BUILD = "${TOPDIR}/../meta-altera/recipes-kernel/linux/files"<br><br>SRCREV_pn-${PN} = "${AUTOREV}"<br><br>S= "${EXTERNALSRC}"<br><br></div><a href="http://hello-mod.bb">hello-mod.bb</a>Â contains<br><br>SUMMARY = "Example of how to build an external Linux kernel module"<br>LICENSE = "GPLv2"<br>LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"<br><br>inherit module<br><br>SRC_URI = "file://Makefile \<br>Â Â Â Â Â Â Â Â Â Â file://hello.c \<br>Â Â Â Â Â Â Â Â Â Â file://COPYING \<br>Â Â Â Â Â Â Â Â Â "<br><br><br>S = "${WORKDIR}"<br><br># The inherit of module.bbclass will automatically name module packages with<br># "kernel-module-" prefix as required by the oe-core build environment.<br>~Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <br><br></div>Am I missing anything?<br><br></div>Thanks,<br></div>Praveen.<br><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div>