CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for gcc to avoid passing gcc flags to g++.
1. SConstruct中增加对C++支持 2. 重新menuconfig. 删除application.c/startup.c,增加main.c. 以便通过编译