Collecting all declared multiconfigs in a set rather than a list avoids duplicates in the resulting string when multiple targets with the same multiconfig are declared. Signed-off-by: Mert Kirpici <mert.kirpici@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>