[yocto] getting error in "make-mod-scripts-1.0-r0" while building meta-altera kernel as local source

praveen vattipalli praveen.vatt at gmail.com
Wed Jul 17 04:42:17 PDT 2019


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"
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.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190717/27c6802a/attachment.html>


More information about the yocto mailing list