public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* The assemble file under the driver folder can not be recognized when the driver is built as module
@ 2006-04-10 10:16 Aubrey
  2006-04-10 11:28 ` Erik Mouw
  0 siblings, 1 reply; 10+ messages in thread
From: Aubrey @ 2006-04-10 10:16 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-04-11  2:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10 10:16 The assemble file under the driver folder can not be recognized when the driver is built as module Aubrey
2006-04-10 11:28 ` Erik Mouw
2006-04-10 13:27   ` Aubrey
2006-04-10 17:33     ` Sam Ravnborg
2006-04-10 17:42     ` Adrian Bunk
2006-04-10 18:04       ` linux-os (Dick Johnson)
2006-04-10 18:24         ` Sam Ravnborg
2006-04-10 19:12           ` linux-os (Dick Johnson)
2006-04-10 19:30             ` Sam Ravnborg
2006-04-11  2:58         ` Aubrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox