* Re: [PATCH 01/24] base: change to new flag variable
[not found] <e0bdab5d2e8c52041c003de68ba774c3e706716c.1285355033.git.mfm@muteddisk.com>
@ 2010-09-25 2:52 ` Américo Wang
[not found] ` <9968d4260be8850200cc9c7dfe08addf611468b4.1285355033.git.mfm@muteddisk.com>
1 sibling, 0 replies; 3+ messages in thread
From: Américo Wang @ 2010-09-25 2:52 UTC (permalink / raw)
To: matt mooney
Cc: kernel-janitors, Greg Kroah-Hartman, linux-kernel, linux-kbuild,
Michal Marek
On Sat, Sep 25, 2010 at 3:17 AM, matt mooney <mfm@muteddisk.com> wrote:
> Replace EXTRA_CFLAGS with ccflags-y.
>
> Signed-off-by: matt mooney <mfm@muteddisk.com>
Nice work, matt!
The whole patch set looks good for me:
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Just please do remember to Cc linux-kbuild and Michal next time.
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 05/24] i2c: change to new flag variable
[not found] ` <20100926092931.68980448@endymion.delvare>
@ 2010-09-26 18:07 ` matt mooney
2010-09-29 13:56 ` Jean Delvare
0 siblings, 1 reply; 3+ messages in thread
From: matt mooney @ 2010-09-26 18:07 UTC (permalink / raw)
To: Jean Delvare
Cc: kernel-janitors, Ben Dooks (embedded platforms), linux-i2c,
linux-kernel, linux-kbuild
On 09:29 Sun 26 Sep , Jean Delvare wrote:
> On Sat, 25 Sep 2010 19:12:17 -0700, matt mooney wrote:
> > On 13:26 Sat 25 Sep , Jean Delvare wrote:
> > > On Fri, 24 Sep 2010 12:17:15 -0700, matt mooney wrote:
> > > > Replace EXTRA_CFLAGS with ccflags-y.
> > > >
> > > > Signed-off-by: matt mooney <mfm@muteddisk.com>
> > > > ---
> > > > drivers/i2c/Makefile | 4 +---
> > > > drivers/i2c/algos/Makefile | 4 +---
> > > > drivers/i2c/busses/Makefile | 4 +---
> > > > drivers/i2c/muxes/Makefile | 4 +---
> > > > 4 files changed, 4 insertions(+), 12 deletions(-)
> > > >
> > > > diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
> > > > index c00fd66..23ac61e 100644
> > > > --- a/drivers/i2c/Makefile
> > > > +++ b/drivers/i2c/Makefile
> > > > @@ -9,6 +9,4 @@ obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
> > > > obj-$(CONFIG_I2C_MUX) += i2c-mux.o
> > > > obj-y += algos/ busses/ muxes/
> > > >
> > > > -ifeq ($(CONFIG_I2C_DEBUG_CORE),y)
> > > > -EXTRA_CFLAGS += -DDEBUG
> > > > -endif
> > > > +ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
> > > > diff --git a/drivers/i2c/algos/Makefile b/drivers/i2c/algos/Makefile
> > > > index 18b3e96..215303f 100644
> > > > --- a/drivers/i2c/algos/Makefile
> > > > +++ b/drivers/i2c/algos/Makefile
> > > > @@ -6,6 +6,4 @@ obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o
> > > > obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o
> > > > obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
> > > >
> > > > -ifeq ($(CONFIG_I2C_DEBUG_ALGO),y)
> > > > -EXTRA_CFLAGS += -DDEBUG
> > > > -endif
> > > > +ccflags-$(CONFIG_I2C_DEBUG_ALGO) := -DDEBUG
> > > > diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
> > > > index c3ef492..033ad41 100644
> > > > --- a/drivers/i2c/busses/Makefile
> > > > +++ b/drivers/i2c/busses/Makefile
> > > > @@ -76,6 +76,4 @@ obj-$(CONFIG_I2C_STUB) += i2c-stub.o
> > > > obj-$(CONFIG_SCx200_ACB) += scx200_acb.o
> > > > obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
> > > >
> > > > -ifeq ($(CONFIG_I2C_DEBUG_BUS),y)
> > > > -EXTRA_CFLAGS += -DDEBUG
> > > > -endif
> > > > +ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
> > > > diff --git a/drivers/i2c/muxes/Makefile b/drivers/i2c/muxes/Makefile
> > > > index bd83b52..6f49786 100644
> > > > --- a/drivers/i2c/muxes/Makefile
> > > > +++ b/drivers/i2c/muxes/Makefile
> > > > @@ -3,6 +3,4 @@
> > > >
> > > > obj-$(CONFIG_I2C_MUX_PCA954x) += pca954x.o
> > > >
> > > > -ifeq ($(CONFIG_I2C_DEBUG_BUS),y)
> > > > -EXTRA_CFLAGS += -DDEBUG
> > > > -endif
> > > > +ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
> > >
> > > If this is the way the whole kernel is going, I have no objection.
> >
> > Sam had implemented these newer style flag variables a while back as an
> > eloquent way of handling conditional flags. A lot of newer (and some older)
> > modules and subsystems were using them already, so to provide uniformity and for
> > an eventual removal of the deprecated flags, I converted all remaining instances
> > to the newer style. (IMHO, I think it flows better with the way the rest of the
> > build system works.)
>
> Fine with me. What's the planned merge path for this patch? Will you
> push all the patches upstream yourself, or do you expect me to pick
> this one?
I was hoping subsystem maintainers would pick them up, but a lot of the patches
have been acked without being applied. My new plan is to have the unapplied ones
go through the kbuild tree. So you can either pick it up or just ack it.
Thanks,
mfm
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 05/24] i2c: change to new flag variable
2010-09-26 18:07 ` [PATCH 05/24] i2c: " matt mooney
@ 2010-09-29 13:56 ` Jean Delvare
0 siblings, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2010-09-29 13:56 UTC (permalink / raw)
To: matt mooney
Cc: kernel-janitors, Ben Dooks (embedded platforms), linux-i2c,
linux-kernel, linux-kbuild
On Sun, 26 Sep 2010 11:07:26 -0700, matt mooney wrote:
> On 09:29 Sun 26 Sep , Jean Delvare wrote:
> > On Sat, 25 Sep 2010 19:12:17 -0700, matt mooney wrote:
> > > Sam had implemented these newer style flag variables a while back as an
> > > eloquent way of handling conditional flags. A lot of newer (and some older)
> > > modules and subsystems were using them already, so to provide uniformity and for
> > > an eventual removal of the deprecated flags, I converted all remaining instances
> > > to the newer style. (IMHO, I think it flows better with the way the rest of the
> > > build system works.)
> >
> > Fine with me. What's the planned merge path for this patch? Will you
> > push all the patches upstream yourself, or do you expect me to pick
> > this one?
>
> I was hoping subsystem maintainers would pick them up, but a lot of the patches
> have been acked without being applied. My new plan is to have the unapplied ones
> go through the kbuild tree. So you can either pick it up or just ack it.
I've picked the patch, it's now in my i2c tree, scheduled for merge in 2.6.37.
--
Jean Delvare
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-29 13:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <e0bdab5d2e8c52041c003de68ba774c3e706716c.1285355033.git.mfm@muteddisk.com>
2010-09-25 2:52 ` [PATCH 01/24] base: change to new flag variable Américo Wang
[not found] ` <9968d4260be8850200cc9c7dfe08addf611468b4.1285355033.git.mfm@muteddisk.com>
[not found] ` <036514b5dd23c5af14303519d79d60d79adccbee.1285355033.git.mfm@muteddisk.com>
[not found] ` <ffbd189ef2d414ea7c87ffe2b40fce87877dc014.1285355033.git.mfm@muteddisk.com>
[not found] ` <b3e2061e1e6703f7b84c0484030e07de6000546a.1285355033.git.mfm@muteddisk.com>
[not found] ` <20100925132611.03ef0882@endymion.delvare>
[not found] ` <20100926021217.GC8191@haskell.muteddisk.com>
[not found] ` <20100926092931.68980448@endymion.delvare>
2010-09-26 18:07 ` [PATCH 05/24] i2c: " matt mooney
2010-09-29 13:56 ` Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox