add cmos, modify Makefile.