Fix armhf version issue (#9382)
Why I did it Fix some of the version files not used issue. One of example version file version-py3-all-armhf, when building marvell-armhf, the version is used as expected, but it not use.
This commit is contained in:
parent
0cc75ce5f4
commit
e54cc71a16
@ -280,11 +280,11 @@ class VersionModule:
|
||||
arch = ''
|
||||
if len(items) > 2:
|
||||
dist = items[2]
|
||||
if filter_dist and dist and filter_dist != dist:
|
||||
if filter_dist and dist and filter_dist != dist and dist != ALL_DIST:
|
||||
continue
|
||||
if len(items) > 3:
|
||||
arch = items[3]
|
||||
if filter_arch and arch and filter_arch != arch:
|
||||
if filter_arch and arch and filter_arch != arch and arch != ALL_ARCH:
|
||||
continue
|
||||
versions = Component.get_versions(file_path)
|
||||
component = Component(versions, ctype, dist, arch)
|
||||
|
Loading…
Reference in New Issue
Block a user