buildsystem: Add code-gen helpers to Makefile.lib

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
stm32: move some data to usb_props, more kcnf

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