linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Christoph Hellwig <hch@lst.de>
Cc: dm-devel@redhat.com, Alasdair G Kergon <agk@redhat.com>,
	linux-raid@vger.kernel.org
Subject: Re: [PATCH] cleanup drivers/md/Makefile
Date: Thu, 5 Mar 2009 13:43:28 +1100	[thread overview]
Message-ID: <18863.15440.573193.85356@notabene.brown> (raw)
In-Reply-To: message from Christoph Hellwig on Tuesday March 3

On Tuesday March 3, hch@lst.de wrote:
> Use the -y variables instead of the old -objs so we can easily add
> conditional objects to the modules.  Also always use += to add
> subobjects to avoid problems when placing additional objects in
> some place in the file.
> 

Looks good to me.  I've applied it to my tree.

Alasdair:  Could you let me know if you are happy with submitting
this, as it affected dm too ??

Thanks.

NeilBrown


> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> 
> Index: linux-2.6/drivers/md/Makefile
> ===================================================================
> --- linux-2.6.orig/drivers/md/Makefile	2009-02-27 17:45:02.374285905 +0100
> +++ linux-2.6/drivers/md/Makefile	2009-02-27 17:45:40.906289678 +0100
> @@ -2,20 +2,20 @@
>  # Makefile for the kernel software RAID and LVM drivers.
>  #
>  
> -dm-mod-objs	:= dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
> +dm-mod-y	+= dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
>  		   dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o
> -dm-multipath-objs := dm-path-selector.o dm-mpath.o
> -dm-snapshot-objs := dm-snap.o dm-exception-store.o dm-snap-transient.o \
> +dm-multipath-y	+= dm-path-selector.o dm-mpath.o
> +dm-snapshot-y	+= dm-snap.o dm-exception-store.o dm-snap-transient.o \
>  		    dm-snap-persistent.o
> -dm-mirror-objs	:= dm-raid1.o
> -md-mod-objs     := md.o bitmap.o
> -raid456-objs	:= raid5.o raid6algos.o raid6recov.o raid6tables.o \
> +dm-mirror-y	+= dm-raid1.o
> +md-mod-y	+= md.o bitmap.o
> +raid456-y	+= raid5.o raid6algos.o raid6recov.o raid6tables.o \
>  		   raid6int1.o raid6int2.o raid6int4.o \
>  		   raid6int8.o raid6int16.o raid6int32.o \
>  		   raid6altivec1.o raid6altivec2.o raid6altivec4.o \
>  		   raid6altivec8.o \
>  		   raid6mmx.o raid6sse1.o raid6sse2.o
> -hostprogs-y	:= mktables
> +hostprogs-y	+= mktables
>  
>  # Note: link order is important.  All raid personalities
>  # and must come before md.o, as they each initialise 

      reply	other threads:[~2009-03-05  2:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 18:00 [PATCH] cleanup drivers/md/Makefile Christoph Hellwig
2009-03-05  2:43 ` Neil Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18863.15440.573193.85356@notabene.brown \
    --to=neilb@suse.de \
    --cc=agk@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=hch@lst.de \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).