CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for gcc to avoid passing gcc flags to g++.
2.Add Kconfig file 3.Delete some unnecessary files and directories