cmake: fix support for out of tree shields
After the rework in #12403, specifying a shield which has overlay
out of the tree causes unnecessary inclusions of overlays.
For every board root, overlays that have same index as
expected overlay are being included.
Fix this by removing already included overlays from SHIELD list.
Signed-off-by:
Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Loading
Please sign in to comment