All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/20] kernel: change to new flag variable
@ 2010-09-23  6:49 ` matt mooney
  0 siblings, 0 replies; 6+ messages in thread
From: matt mooney @ 2010-09-23  6:49 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Pavel Machek, Rafael J. Wysocki, Peter Oberparleiter, linux-pm,
	linux-kernel, kernel-janitors

Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
---
 kernel/gcov/Makefile  |    2 +-
 kernel/power/Makefile |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/kernel/gcov/Makefile b/kernel/gcov/Makefile
index 3f76100..e97ca59 100644
--- a/kernel/gcov/Makefile
+++ b/kernel/gcov/Makefile
@@ -1,3 +1,3 @@
-EXTRA_CFLAGS := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
+ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
 
 obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o gcc_3_4.o
diff --git a/kernel/power/Makefile b/kernel/power/Makefile
index f9063c6..0f98685 100644
--- a/kernel/power/Makefile
+++ b/kernel/power/Makefile
@@ -1,7 +1,5 @@
 
-ifeq ($(CONFIG_PM_DEBUG),y)
-EXTRA_CFLAGS	+=	-DDEBUG
-endif
+ccflags-$(CONFIG_PM_DEBUG)	:= -DDEBUG
 
 obj-$(CONFIG_PM)		+= main.o
 obj-$(CONFIG_PM_SLEEP)		+= console.o
-- 
1.7.2.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 01/20] kernel: change to new flag variable
@ 2010-09-23  6:49 ` matt mooney
  0 siblings, 0 replies; 6+ messages in thread
From: matt mooney @ 2010-09-23  6:49 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Pavel Machek, Rafael J. Wysocki, Peter Oberparleiter, linux-pm,
	linux-kernel, kernel-janitors

Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
---
 kernel/gcov/Makefile  |    2 +-
 kernel/power/Makefile |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/kernel/gcov/Makefile b/kernel/gcov/Makefile
index 3f76100..e97ca59 100644
--- a/kernel/gcov/Makefile
+++ b/kernel/gcov/Makefile
@@ -1,3 +1,3 @@
-EXTRA_CFLAGS := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
+ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
 
 obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o gcc_3_4.o
diff --git a/kernel/power/Makefile b/kernel/power/Makefile
index f9063c6..0f98685 100644
--- a/kernel/power/Makefile
+++ b/kernel/power/Makefile
@@ -1,7 +1,5 @@
 
-ifeq ($(CONFIG_PM_DEBUG),y)
-EXTRA_CFLAGS	+=	-DDEBUG
-endif
+ccflags-$(CONFIG_PM_DEBUG)	:= -DDEBUG
 
 obj-$(CONFIG_PM)		+= main.o
 obj-$(CONFIG_PM_SLEEP)		+= console.o
-- 
1.7.2.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 01/20] kernel: change to new flag variable
  2010-09-23  6:49 ` matt mooney
@ 2010-09-25  2:25   ` Américo Wang
  -1 siblings, 0 replies; 6+ messages in thread
From: Américo Wang @ 2010-09-25  2:25 UTC (permalink / raw)
  To: matt mooney
  Cc: Andrew Morton, Pavel Machek, Rafael J. Wysocki,
	Peter Oberparleiter, linux-pm, linux-kernel, kernel-janitors,
	linux-kbuild

On Thu, Sep 23, 2010 at 2:49 PM, matt mooney <mfm@muteddisk.com> wrote:
> Replace EXTRA_CFLAGS with ccflags-y.
>
> Signed-off-by: matt mooney <mfm@muteddisk.com>

ACK to the whole patch set.

Please Cc linux-kbuild when you send patches for makefiles.

Thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 01/20] kernel: change to new flag variable
@ 2010-09-25  2:25   ` Américo Wang
  0 siblings, 0 replies; 6+ messages in thread
From: Américo Wang @ 2010-09-25  2:25 UTC (permalink / raw)
  To: matt mooney
  Cc: Andrew Morton, Pavel Machek, Rafael J. Wysocki,
	Peter Oberparleiter, linux-pm, linux-kernel, kernel-janitors,
	linux-kbuild

On Thu, Sep 23, 2010 at 2:49 PM, matt mooney <mfm@muteddisk.com> wrote:
> Replace EXTRA_CFLAGS with ccflags-y.
>
> Signed-off-by: matt mooney <mfm@muteddisk.com>

ACK to the whole patch set.

Please Cc linux-kbuild when you send patches for makefiles.

Thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 01/20] kernel: change to new flag variable
  2010-09-23  6:49 ` matt mooney
  (?)
@ 2010-09-25  2:25 ` Américo Wang
  -1 siblings, 0 replies; 6+ messages in thread
From: Américo Wang @ 2010-09-25  2:25 UTC (permalink / raw)
  To: matt mooney
  Cc: linux-kbuild, Peter Oberparleiter, kernel-janitors, linux-kernel,
	Andrew Morton, linux-pm

On Thu, Sep 23, 2010 at 2:49 PM, matt mooney <mfm@muteddisk.com> wrote:
> Replace EXTRA_CFLAGS with ccflags-y.
>
> Signed-off-by: matt mooney <mfm@muteddisk.com>

ACK to the whole patch set.

Please Cc linux-kbuild when you send patches for makefiles.

Thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 01/20] kernel: change to new flag variable
@ 2010-09-23  6:49 matt mooney
  0 siblings, 0 replies; 6+ messages in thread
From: matt mooney @ 2010-09-23  6:49 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Peter Oberparleiter, kernel-janitors, linux-kernel, linux-pm

Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
---
 kernel/gcov/Makefile  |    2 +-
 kernel/power/Makefile |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/kernel/gcov/Makefile b/kernel/gcov/Makefile
index 3f76100..e97ca59 100644
--- a/kernel/gcov/Makefile
+++ b/kernel/gcov/Makefile
@@ -1,3 +1,3 @@
-EXTRA_CFLAGS := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
+ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
 
 obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o gcc_3_4.o
diff --git a/kernel/power/Makefile b/kernel/power/Makefile
index f9063c6..0f98685 100644
--- a/kernel/power/Makefile
+++ b/kernel/power/Makefile
@@ -1,7 +1,5 @@
 
-ifeq ($(CONFIG_PM_DEBUG),y)
-EXTRA_CFLAGS	+=	-DDEBUG
-endif
+ccflags-$(CONFIG_PM_DEBUG)	:= -DDEBUG
 
 obj-$(CONFIG_PM)		+= main.o
 obj-$(CONFIG_PM_SLEEP)		+= console.o
-- 
1.7.2.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-25  2:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-23  6:49 [PATCH 01/20] kernel: change to new flag variable matt mooney
2010-09-23  6:49 ` matt mooney
2010-09-25  2:25 ` Américo Wang
2010-09-25  2:25 ` Américo Wang
2010-09-25  2:25   ` Américo Wang
2010-09-23  6:49 matt mooney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.