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
933454dc29
commit
1e8fe7dd6c
@ -280,11 +280,11 @@ class VersionModule:
|
|||||||
arch = ''
|
arch = ''
|
||||||
if len(items) > 2:
|
if len(items) > 2:
|
||||||
dist = 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
|
continue
|
||||||
if len(items) > 3:
|
if len(items) > 3:
|
||||||
arch = 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
|
continue
|
||||||
versions = Component.get_versions(file_path)
|
versions = Component.get_versions(file_path)
|
||||||
component = Component(versions, ctype, dist, arch)
|
component = Component(versions, ctype, dist, arch)
|
||||||
|
Loading…
Reference in New Issue
Block a user