Makefile and Kconfig tweaks

Makefile and Kconfig tweaks from HydraCore v7 modified sources.