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

From: Sam Ravnborg
Date: Mon Apr 10 2006 - 14:25:20 EST


On Mon, Apr 10, 2006 at 02:04:59PM -0400, linux-os (Dick Johnson) wrote:

> Can't he just put his own private compile definition in his
> own Makefile?
>
> %.o: %.S
> as -o $@ $<

That would never generate a module anyway. And kbuild support building
.o from .S with all the kbuild argument chechking etc.
Doing it so would be wrong.

Sam
-
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/