On Wed, Jul 17, 2019 at 7:43 AM praveen vattipalli <praveen.v...@gmail.com> wrote: > > Hi All, > we are upgrading Yocto from Krogath to Sumo version. > while using meta-altera kernel source as local source, > > if i use EXTERNALSRC_BUILD variable > EXTERNALSRC = > "${TOPDIR}/../meta-altera/recipes-kernel/linux/files/kernel-source" > EXTERNALSRC_BUILD = > "${TOPDIR}/../meta-altera/recipes-kernel/linux/files/kernel-source"
Have you tried making these different directories ? The error you are seeing is telling you that you are trying to build in an already configured/dirty source directory. Not having a split source and build is one easy way to get into the state that you are seeing. > getting make-mod-scripts-1.0-r0 error. > > if i comment EXTERNALSRC_BUILD = > "${TOPDIR}/../meta-altera/recipes-kernel/linux/files/kernel-source" i could > able to build the image. See my above comment. By default the externalsrc class does a split source and build directory, which is why it works. Bruce > > any suggestion, if i miss anything. > Thanks in advance > > logs: > ERROR: make-mod-scripts-1.0-r0 do_configure: oe_runmake failed > > Using > /home/pkumar/tp4100_sumo/sumo/yocto_platform/platform/meta-altera/recipes-kernel/linux/files/kernel-source > as source for kernel > | > /home/pkumar/tp4100_sumo/sumo/yocto_platform/platform/meta-altera/recipes-kernel/linux/files/kernel-source > is not clean, please run 'make mrproper' > | in the > '/home/pkumar/tp4100_sumo/sumo/yocto_platform/platform/meta-altera/recipes-kernel/linux/files/kernel-source' > directory. > | > /home/pkumar/tp4100_sumo/sumo/yocto_platform/platform/meta-altera/recipes-kernel/linux/files/kernel-source/Makefile:1064: > recipe for target 'prepare3' failed > | make[1]: *** [prepare3] Error 1 > | make[1]: Leaving directory > '/home/pkumar/tp4100_sumo/sumo/yocto_platform/platform/build/tmp/work-shared/cyclone5/kernel-build-artifacts' > | Makefile:146: recipe for target 'sub-make' failed > | make: *** [sub-make] Error 2 > > Thanks, > Praveen > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto