lkml.org 
[lkml]   [2006]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectThe assemble file under the driver folder can not be recognized when the driver is built as module
Hi all,

I've written a framebuffer driver and put it under the folder
"./drivers/video", it consists of two files" mydriver.c and myfun.S".
When I build it into the kernel image, everything is ok.
But when I build it as module, I got the following error message:
===========================================
aubrey@linux:~/cvs/kernel/uClinux-dist> make V=1
--------snip---------
make -f scripts/Makefile.build obj=drivers/video
make -f scripts/Makefile.build obj=drivers/video/backlight
make[3]: *** No rule to make target `drivers/video/rgb2ycbcr.c',
needed by `drivers/video/rgb2ycbcr.o'. Stop.
make[2]: *** [drivers/video] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/home/aubrey/cvs/kernel/uClinux-dist/linux-2.6.x'
make: *** [linux] Error 1
===========================================

Make ask me for ".c" file. But it's an assemble file indeed.
Is it a bug of kernel script? (I'm using 2.6.16)

Regards,
-Aubrey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-10 12:20    [W:0.053 / U:1.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site