On Sat, Jul 22, 2006 at 06:03:43PM -0400, Frank Hess wrote:
>
> Hi kbuild maintainers,
>
> Attached is a one-line patch to scripts/Makefile.modpost which fixes a
> compilation problem I had building some out-of-tree modules (linux-gpib)
> against a 2.6.17.6 kernel. The problem was KBUILD_EXTMOD was set to
> SUBDIRS, which contained paths to multiple directories.
Please do not do it this way.
If you need to build several modules create a top-level Kbuild file.
Kbuild:
obj-m := gpib-hw-if/ gpib-hl-if/
This will tell kbuild to build both a module in both directories.
Sam
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kbuild-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel