Hi,
when I run Kconfiglib on v4.18-rc4 upstream kernel, I get:
init/Kconfig:16: couldn't parse ' default $(shell,$(srctree)/scripts/gcc-version.sh -p $(CC) | sed 's/^0*//') if CC_IS_GCC': macro expanded to blank string
It looks like a tiny expansion issue in the new Kconfig preprocessor.
Best regards,
Jakub