mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2025-08-24 21:08:23 +02:00
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 <ovidiu.panait.oss@gmail.com>
This commit is contained in:
@ -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 \
|
||||
|
Reference in New Issue
Block a user