[KARMIC] UBUNTU: Update the dm-raid45 module to latest version

manoj.iyer at canonical.com manoj.iyer at canonical.com
Wed Jul 1 18:58:49 UTC 2009


Agreed, will redo and resubmit

Cheers
--- manjo

On Wed, 1 Jul 2009, Andy Whitcroft wrote:

> On Wed, Jul 01, 2009 at 11:08:15AM -0500, manoj.iyer at canonical.com wrote:
>>> I believe that when you use the dm-raid45-objs form that there is an
>>> implicit construction of a new dm-raid45.o from the .o's on the right.
>>> I would have expected you to need to leave the main file called
>>> dm-raid4-5.c and then to have the following to make the dm-raid45.ko
>>>
>>> dm-raid45-objs := dm-raid4-5.o dm-memcache.o dm-region-hash.o dm-message.o
>>> obj-$(CONFIG_DM_RAID45) := dm-raid45.o
>>>
>>> -apw
>>>
>>
>> The file dm-raid4-5.c does not exist anymore, the file has been renamed
>> to dm-raid45.c.
>
> Right but I think to make this work correctly you cannot have a soure
> file which matches the name of the module.  As I believe each .o has to
> be made, then they are all combined into a new .o under the module name.
> Finally that is made into a .ko.  So I think you want to not-rename the
> file.
>
> -apw
>




More information about the kernel-team mailing list