[yocto] To Specify the Linux Kernel Local Path In SRC_URI

Khem Raj raj.khem at gmail.com
Wed Oct 28 22:49:34 PDT 2015


On Wed, Oct 28, 2015 at 10:15 PM, YUKATHARSANI JEYACHANDRA
<yukatharsanij at tataelxsi.co.in> wrote:
> Hi,
>
> I am trying to build kernel image for new hardware.
>
> So, I prefer to use my linux 3.x version with specific changes.
>
> I want bitbake to fetch the local path of my linux.
>
> Is it possible to specify the local path in SRC_URI.

yes. use file:///path/to/linux.tar or even you can use externalsrc and
point it to your tree during development.
read through
http://www.yoctoproject.org/docs/1.8/dev-manual/dev-manual.html#building-software-from-an-external-source

>
>
> Thanks and Regards,
>
> Yukatharsani J.
>
>
>
>
>
> ________________________________
> From: yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> on
> behalf of Andres Sagot <andres.sagot at yandex.com>
> Sent: Thursday, October 29, 2015 9:49 AM
> To: yocto at yoctoproject.org
> Subject: [yocto] Kernel Version Dependency in BB Recipe
>
> Hello Yocto Community,
>
> I did a search and found a great deal about layer dependencies, but I am
> still not clear on how or if it is possible to add a kernel version
> dependency to a BB recipe. I would like to bitbake to report an error if it
> attempts to build my custom package with an unsupported version of Linux.
>
> Thank you and best regards,
> Andres
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list