meta-rockchip/recipes-bsp
Quentin Schulz 1e27f83cc4 bsp: rkbin: fix default COMPATIBLE_MACHINE matching all
The goal of the default COMPATIBLE_MACHINE was to not allow
rockchip-rkbin to be even parsed if a MACHINE isn't part of the
COMPATIBLE_MACHINE.

However, COMPATIBLE_MACHINE is a regexp checked using Python's re module
approximately like:
"""
if re.match(COMPATIBLE_MACHINE, MACHINE):
	return True
"""

and re.match() returns a match whatever MACHINE is if COMPATIBLE_MACHINE
is the empty string.

Therefore, let's change it to `^$` which only matches the empty string,
which shouldn't be possible for anything in MACHINEOVERRIDES, and if it
is there are probably bigger problems than parsing rockchip-rkbin.

Fixes: 3c7f532c2e ("rk3588(s): add")
Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2023-10-25 09:39:50 -04:00
..
rkbin bsp: rkbin: fix default COMPATIBLE_MACHINE matching all 2023-10-25 09:39:50 -04:00
trusted-firmware-a add support for PX30 SoC 2022-10-20 18:03:20 -04:00
u-boot rk3588(s): add 2023-10-13 12:12:08 -04:00