gluon-core: make gluon.platform.match() match all boards when no boards are given
This commit is contained in:
parent
95a05d5dd7
commit
5bfb8e4ef6
@ -21,7 +21,7 @@ function match(target, subtarget, boards)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
if not util.contains(boards, get_board_name()) then
|
if boards and not util.contains(boards, get_board_name()) then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user