gluon-core: make gluon.platform.match() match all boards when no boards are given

This commit is contained in:
Matthias Schiffer 2016-06-23 00:06:18 +02:00
parent 4251b4d4f5
commit dc485f7356
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function match(target, subtarget, boards)
return false
end
if not util.contains(boards, get_board_name()) then
if boards and not util.contains(boards, get_board_name()) then
return false
end