From afae76b548eb79ebebd4db1b5980f7e17a025a44 Mon Sep 17 00:00:00 2001 From: Ovidiu Panait Date: Fri, 15 Aug 2025 10:20:42 +0300 Subject: [PATCH] pya20: fix COMPATIBLE_MACHINE regex The current regex in COMPATIBLE_MACHINE will also match machine names which are not in the list, such as 'olinuxino-a20som204'. Since 'olinuxino-a20som204' SOM is newer, a mapping.h file is not available for it in upstream pya20, so there is no need to build the recipe for it. Add "^$" to the regex in order to restrict the pya20 recipe only to those machines that have a mapping.h file. Signed-off-by: Ovidiu Panait --- recipes-devtools/python/pya20_0.2.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/python/pya20_0.2.12.bb b/recipes-devtools/python/pya20_0.2.12.bb index 16d304d..1866636 100644 --- a/recipes-devtools/python/pya20_0.2.12.bb +++ b/recipes-devtools/python/pya20_0.2.12.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=4e584373bb0f46ef1e423cb7df37847d" DEPENDS = "python3" # No GPIO mappings for other machines yet -COMPATIBLE_MACHINE = "(olinuxino-a13|olinuxino-a10|olinuxino-a20|olinuxino-a10lime|olinuxino-a20lime|olinuxino-a20lime2|olinuxino-a13som|olinuxino-a20som)" +COMPATIBLE_MACHINE = "^(olinuxino-a13|olinuxino-a10|olinuxino-a20|olinuxino-a10lime|olinuxino-a20lime|olinuxino-a20lime2|olinuxino-a13som|olinuxino-a20som)$" SRC_URI = "https://pypi.python.org/packages/source/p/pyA20/pyA20-${PV}.tar.gz \ file://mapping.h \