buildsystem: rework how GENDEPFLAGS are passed down

This fixes a rare bug with dependency generation

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
stm32: add initial stuff for STs USB Device stack

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>