[yocto] Yocto-custom kernel build issue

Bruce Ashfield bruce.ashfield at windriver.com
Fri Jan 30 08:34:20 PST 2015


On 15-01-30 09:08 AM, Raghavendra Kakarla wrote:
> Hi,
>
> I am new to yocto project build system. I downloaded the yocto project build system from git. I built for the all qemu architectures(MIPS,ARM,PPC,X86) and ran on qemu.
>
> all are working fine.
>
> Now I need to create a bsp layer for my board which has the mips processor core.
>
> I created the bsp layer with using the yocto-bsp create command.
>
> here I use the my own kernel which is reside at our local git repositery. I gave this path while creating the bsplayer.
>
> After adding my bsp layer to bblayers and my mechine to local.conf i built the kernel using bitbake -k core-image-minimal command.
>
> While building i got the following errors:
>
>
> Log data follows:
> | DEBUG: Executing python function sysroot_cleansstate
> | DEBUG: Python function sysroot_cleansstate finished
> | DEBUG: Executing shell function do_configure
> | NOTE: make oldnoconfig
> | make: *** No rule to make target `oldnoconfig'.  Stop.
> | NOTE: make oldconfig
> | make: *** No rule to make target `oldconfig'.  Stop.
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_configure (log file is located at /home/testuser/poky/build/tmp/work/mydhanush-poky-linux/linux-yocto-custom/3.10.14+gitAUTOINC+12bbf6468e-r0/temp/log.do_configure.14044)
>
> And also i did not got "src" folder in the following path for my mechine which is there for the qemu mips.
> /home/testuser/poky/build/tmp/sysroots/mydhanush/usr

Is the source directory in 
/home/testuser/poky/build/tmp/work-shared/<your machine>/kernel-source ?

And if so, is your recipe setting ${S} in any way ?

Bruce

>
> could you please help for resolving this issue.
>
> thanks in advance.
>
>
>
>
> Thanks & Regards,
> Raghavendra K.
>




More information about the yocto mailing list