Re: The assemble file under the driver folder can not be recognized when the driver is built as module

From: Aubrey
Date: Mon Apr 10 2006 - 23:17:44 EST


> > IOW, you want:
> >
> > obj-$(CONFIG_FB_BFIN_7171) += bfin_ad7171fb.o
> > bfin_ad7171fb-objs := bfin_ad7171fb_main.o rgb2ycbcr.o
> >
> > Note that this requires renaming bfin_ad7171fb.c to bfin_ad7171fb_main.c.

That's the trick. Thanks.

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