meta-rockchip/recipes-bsp
Quentin Schulz 36b07ec60c 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: f8af59dd7c ("rock-5b: add")
Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2023-10-25 09:38:39 -04:00
..
rkbin bsp: rkbin: fix default COMPATIBLE_MACHINE matching all 2023-10-25 09:38:39 -04:00
trusted-firmware-a trusted-firmware-a_%.bbappend: gcc-arm-none-eabi 2023-07-25 00:52:25 -04:00
u-boot u-boot cleanup: organize DEPENDS 2023-10-03 09:00:00 -04:00