When making all kernels - building sometimes fails

Description

Due to some variables not getting cleared.

Environment

None
Done

Assignee

Igor Pecovnik

Reporter

Igor Pecovnik