[yocto] error while compiling external module in Krogoth branch

praveen vattipalli praveen.vatt at gmail.com
Tue Feb 21 05:29:05 PST 2017


Hi All,
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.



ERROR: Task do_make_scripts in /home/praveenk/source/platform/build/../meta-
skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb depends upon
non-existent task do_shared_workdir in /home/praveenk/source/
platform/build/../meta-altera/recipes-kernel/linux/linux-
altera-ltsi_4.1.22.bb
ERROR: Command execution failed: 1

linux.bb contains

LINUX_VERSION = "4.1.22"
LINUX_VERSION_SUFFIX = "-ltsi"

include linux-altera.inc

SRC_URI = "file://${EXTERNALSRC}"

LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=d7810fab7487fb0aad327b76f1be7c
d7"

BUILD_DEFCONFIG = "socfpga_defconfig"
EXTERNALSRC = "${TOPDIR}/../meta-altera/recipes-kernel/linux/files"
EXTERNALSRC_BUILD = "${TOPDIR}/../meta-altera/recipes-kernel/linux/files"

SRCREV_pn-${PN} = "${AUTOREV}"

S= "${EXTERNALSRC}"

hello-mod.bb  contains

SUMMARY = "Example of how to build an external Linux kernel module"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"

inherit module

SRC_URI = "file://Makefile \
           file://hello.c \
           file://COPYING \
          "


S = "${WORKDIR}"

# The inherit of module.bbclass will automatically name module packages with
# "kernel-module-" prefix as required by the oe-core build environment.
~


Am I missing anything?

Thanks,
Praveen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170221/9fddd5e7/attachment.html>


More information about the yocto mailing list