Question about OVERRIDES in meta-rockchip
I'm building an image for rock-pi-4c using meta-rockchip layer and need to remove a DISTRO_FEATURE in local.conf. That would be needed for all rockchip based boards, but i only found overrides based on soc_family. I ended up adding a line for every soc_family:
DISTRO_FEATURES_remove_rk3066 =DISTRO_FEATURES_remove_rk3188 =DISTRO_FEATURES_remove_rk3288 =DISTRO_FEATURES_remove_rk3399 =
So my question is: Is there any better way to achieve this or would it be thinkable to add an override for the complete rockchip family (maybe in rockchip-defaults.inc) like this?
MACHINEOVERRIDES .= ":rockchip"
Kind regards,
Markus Volk
Learned something new today :)
It could be done in local.conf like this:
OVERRIDES .= "${@bb.utils.contains_any('SOC_FAMILY', 'rk3066 rk3188 rk3288 rk3399', ':rockchip', '', d)}" DISTRO_FEATURES_remove_rockchip =