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

Andy Whitcroft apw at canonical.com
Wed Jul 1 16:34:44 UTC 2009


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