oelint.vars.specific

May 8, 2025 ยท View on GitHub

severity: error

Example

A:append:fooarch = " foo"

Why is this bad?

The override item should be known from either MACHINE, MACHINEOVERRIDES, PACKAGES or DISTRO, otherwise there is a high chance that the variable value will never be used.

Ways to fix it

Use a known override.

For MACHINE, MACHINEOVERRIDES, or DISTRO entries see the corresponding Constants Guide

If it's a PACKAGE set

PACKAGE_BEFORE_PN += "${PN}-mypackage"

FILES:${PN}-mypackage += "some/file"