check_compliance generates Kconfig files for sourcing board and soc
Kconfig tree in order to run compliance.
Each board and soc generated a source entry, however several socs are
using same soc dir and thus multiple identical source lines where
created.
Use a set() to ensure unique folders before generating Kconfig files.
This ensures that each Kconfig file is only sourced once.
This improves both compliance as fewer lines needs to be written, as
well as improves Kconfiglib as fewer Kconfig files must be sourced, as
redundant sourcing is not avoided.
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>