Re: generate one module from multiple object files (was: Re: [PATCH 2/2] usb: gadget: convert all users to the new udc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Jun 14, 2011 at 04:01:29PM -0400, Alan Stern wrote:
> Consider usbcore as an example.  Grepping through drivers/usb/core/*.c,
> you'll see there are init routines in devio.c, inode.c, and usb.c.  
> These files are all compiled separately.  Yet they are linked into a
> single object module, usbcore.ko, and the init sections work out just
> fine.
> 
> In short, I don't see what's wrong with separate compilation.  
> Apparently the only problem David found was that it increased the size 
> of the final driver by 42 bytes.  Is that really worth worrying about?

probably not... But Greg initiated the discussion. It was something
related with always recompiling the same objects or something. I really
don't recall.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux