make[2]: *** No rule to make target `drivers/char/tianc_lcd.o', needed by `drivers/char/built-in.o'. Stop.
make[2]: *** No rule to make target `drivers/char/tianc_lcd.o', needed by `drivers/char/built-in.o'. Stop.
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
今天往龙芯linux内核里加一个lcd的驱动,但是遇到一个奇怪的问题,老师提示需要built-in.o文件,折腾了好半天没搞定,最后才发现,原来是文件名字不对,驱动的.c文件被同事改了名字,但是居然不是报错找不到文件,而是报缺少其他依赖文件,这见鬼的gcc
转自:http://hi.baidu.com/756091339/item/4c937f30912cdff5a9842848
转自:http://hi.baidu.com/756091339/item/4c937f30912cdff5a9842848