On Tue, 2017-02-28 at 17:57 +0530, praveen vattipalli wrote: > Hi, > I am using krogoth branch of meta-altera. > in meta/classes/kernel-yocto.bbclass file > SRCTREECOVEREDTASKS += "do_kernel_configme do_validate_branches > do_kernel_configcheck do_kernel_checkout do_shared_workdir do_fetch > do_unpack do_patch" > > if i remove "do_shared_workdir" . it worked. is this the right way. > Thanks.
I think so, a similar change went into post-krogoth releases: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/kernel-yocto.bbclass?id=1373b528964e47c2b0a154e4ca749e64f7f1a341 Cheers, Andre' > > On Tue, Feb 28, 2017 at 12:46 PM, Khem Raj <raj.k...@gmail.com> wrote: > > > > > On Tue, Feb 21, 2017 at 6:31 AM praveen vattipalli <praveen.vatt@gmail.c > > om> > > wrote: > > > > > 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. > > > > > > > Which branch of meta-altera are you using > > > > > > > > > > > > > > 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= > > > d7810fab7487fb0aad327b76f1be7cd7" > > > > > > 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. > > > -- > > > _______________________________________________ > > > yocto mailing list > > > yocto@yoctoproject.org > > > https://lists.yoctoproject.org/listinfo/yocto > > > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto