Wind River Support Network


LIN1021-549 : Unable to build a custom kernel with linux-yocto-custom

Created: Jun 9, 2021    Updated: Jul 18, 2021
Resolved Date: Jul 4, 2021
Found In Version:
Fix Version:
Severity: Critical
Applicable for: Wind River Linux LTS 21
Component/s: Userspace


$ . environment-setup-x86_64-wrlinuxsdk-linux

$ . oe-init-build-env 

$ bitbake-layers add-layer ../layers/wrlinux/wrlinux-kernel-dev/

Add the following two lines to conf/local.conf:

WRTEMPLATE = "feature/kernel-dev" to conf/local.conf

COMPATIBLE_MACHINE_pn-linux-yocto-custom = ""

$ bitbake linux-yocto-custom

 The following error is displayed:

ERROR: ExpansionError during parsing /path/to/layers/wrlinux/wrlinux-kernel-dev/recipes-kernel/linux-libc-headers/linux-libc-headers-custom.bb00:00
Traceback (most recent call last):
File "/path/to/layers/oe-core/bitbake/lib/bb/fetch2/", line 1172, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7f9332
451700>, d=<bb.data_smart.DataSmart object at 0x7f93323f1490>, name='machine'):
if srcrev == "AUTOINC":
> srcrev = ud.method.latest_revision(ud, d, name)

Live chat