[lkml]   [2004]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: missing build functionality?
On Tue, 23 Nov 2004 12:33:39 PST, Bruce Korb said:

> Anyway, I do not see an obvious way to construct an object archive library
> that I wish to use for multiple drivers. There are two problems. This:
> > ifeq ($(ARCH),ia64)
> > endif
> because I am making the archive for a loadable driver.

The usual solution for 2 modules that share an archive would be to create
*three* modules driver-a, driver-b, and driver-core - and then have the
appropriate depmod magic so a 'modprobe driver-a' does an insmode driver-core,
as does a 'modprobe driver-b'.

Otherwise, you're just loading the entire library into memory twice,
once for each driver...
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-03-22 14:08    [W:0.037 / U:11.752 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site