Hi,
I am working with Beaglebone black with yocto build system. I am trying to add my customize yocto kernel version linux-3.14.4 Standard with my custom layer. For that i have modified my kernel SRC_URI location as my local pc and not fetch from the web GIT. Below is my kernel .bbfile in meta/recipes-kernel/linux/linux-yocto_3.14.bb
require recipes-kernel/linux/linux-yocto.inc
SRC_URI = "file://linux-3.14.tar.xz" // (This file is available in build/downloads directory)
LINUX_VERSION ?= "3.14.4"
PV = "${LINUX_VERSION}+git"
but when i try to build the kernel using bitbake -v linux-yocto command it gives me below error.
+ [ 1 -ne 0 ]
+ echo ERROR. The branch 'meta' is required and was not
ERROR. The branch 'meta' is required and was not
+ echo found. Ensure that the SRC_URI points to a valid linux-yocto
found. Ensure that the SRC_URI points to a valid linux-yocto
+ echo kernel repository
kernel repository
+ exit 1
This error comes from meta/classes/kernel-yocto.bbclass.
So, How to resolve this error and what is the right solution to add external kernel in yocto that it will not fetch the kernel source code from the web GIT.
Please suggest.
Thanks,
Dhaval