From: matt mooney <mfm@muteddisk.com>
To: Valdis.Kletnieks@vt.edu
Cc: kernel-janitors@vger.kernel.org, lm-sensors@lm-sensors.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 04/24] hwmon: change to new flag variable
Date: Mon, 27 Sep 2010 10:23:13 -0700 [thread overview]
Message-ID: <20100927172313.GC4598@haskell.muteddisk.com> (raw)
In-Reply-To: <12873.1285599840@localhost>
On 11:04 Mon 27 Sep , Valdis.Kletnieks@vt.edu wrote:
> On Fri, 24 Sep 2010 12:17:14 PDT, matt mooney said:
> > Replace EXTRA_CFLAGS with ccflags-y.
> >
> > Signed-off-by: matt mooney <mfm@muteddisk.com>
> > ---
> > drivers/hwmon/Makefile | 4 +---
> > 1 files changed, 1 insertions(+), 3 deletions(-)
> >
> > diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
> > index e3c2484..764b4db 100644
> > --- a/drivers/hwmon/Makefile
> > +++ b/drivers/hwmon/Makefile
> > @@ -109,7 +109,5 @@ obj-$(CONFIG_SENSORS_W83L786NG) += w83l786ng.o
> > obj-$(CONFIG_SENSORS_WM831X) += wm831x-hwmon.o
> > obj-$(CONFIG_SENSORS_WM8350) += wm8350-hwmon.o
> >
> > -ifeq ($(CONFIG_HWMON_DEBUG_CHIP),y)
> > -EXTRA_CFLAGS += -DDEBUG
> > -endif
> > +ccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
>
> Was this series intended as := rather than += as it seems that
> overriding the entirely of a passed-in ccflags-y may not be what
> we wanted to do.
That is exactly why I changed += to :=. ccflags-y (and the older EXTRA_CFLAGS)
is a per directory variable that only has effect on the current directory, so
there is no passing in of ccflags-y.
-mfm
next prev parent reply other threads:[~2010-09-27 17:24 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-24 19:17 [PATCH 01/24] base: change to new flag variable matt mooney
2010-09-24 19:17 ` [PATCH 02/24] char: " matt mooney
2010-09-24 19:17 ` [PATCH 03/24] dma: " matt mooney
2010-09-24 19:17 ` [PATCH 04/24] hwmon: " matt mooney
2010-09-24 23:54 ` [lm-sensors] " Guenter Roeck
2010-09-27 15:04 ` Valdis.Kletnieks
2010-09-27 17:23 ` matt mooney [this message]
2010-09-24 19:17 ` [PATCH 05/24] i2c: " matt mooney
2010-09-25 11:26 ` Jean Delvare
2010-09-26 2:12 ` matt mooney
2010-09-26 7:29 ` Jean Delvare
2010-09-26 18:07 ` matt mooney
2010-09-29 13:56 ` Jean Delvare
2010-09-24 19:17 ` [PATCH 06/24] ide: " matt mooney
2010-09-24 20:01 ` David Miller
2010-09-24 19:17 ` [PATCH 07/24] ieee802154: " matt mooney
2010-09-26 10:31 ` Dmitry Eremin-Solenikov
2010-09-24 19:17 ` [PATCH 08/24] infiniband: " matt mooney
2010-09-24 19:17 ` [PATCH 09/24] input: " matt mooney
2010-09-24 19:17 ` [PATCH 10/24] isdn: " matt mooney
2010-09-24 20:01 ` David Miller
2010-09-24 19:17 ` [PATCH 11/24] memstick: " matt mooney
2010-09-24 19:17 ` [PATCH 12/24] message: " matt mooney
2010-09-24 19:17 ` [PATCH 13/24] misc: " matt mooney
2010-09-28 13:02 ` Michał Mirosław
2010-09-29 22:55 ` matt mooney
2010-09-24 19:17 ` [PATCH 14/24] mmc: " matt mooney
2010-09-24 19:17 ` [PATCH 15/24] net: " matt mooney
2010-09-24 19:25 ` John W. Linville
2010-09-24 20:01 ` David Miller
2010-09-24 19:17 ` [PATCH 16/24] pci: " matt mooney
2010-10-15 19:54 ` Jesse Barnes
2010-09-24 19:17 ` [PATCH 17/24] power: " matt mooney
2010-09-24 19:17 ` [PATCH 18/24] pps: " matt mooney
2010-09-24 19:17 ` [PATCH 19/24] rapidio: " matt mooney
2010-09-24 19:17 ` [PATCH 20/24] rtc: " matt mooney
2010-09-25 1:37 ` [rtc-linux] " Wan ZongShun
2010-09-24 19:17 ` [PATCH 21/24] scsi: " matt mooney
2010-09-24 19:17 ` [PATCH 22/24] spi: " matt mooney
2010-10-08 18:33 ` Grant Likely
2010-09-24 19:17 ` [PATCH 23/24] usb: " matt mooney
2010-09-24 20:02 ` [usb-storage] " Matthew Dharm
2010-09-24 20:28 ` matt mooney
2010-09-24 23:21 ` matt mooney
2010-09-24 19:17 ` [PATCH 24/24] video: " matt mooney
2010-09-25 2:52 ` [PATCH 01/24] base: " Américo Wang
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=20100927172313.GC4598@haskell.muteddisk.com \
--to=mfm@muteddisk.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.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