linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 03/20] alpha: change to new flag variables
@ 2010-09-23  6:50 matt mooney
  2011-01-17  4:38 ` Matt Turner
  0 siblings, 1 reply; 2+ messages in thread
From: matt mooney @ 2010-09-23  6:50 UTC (permalink / raw)
  To: Richard Henderson
  Cc: Ivan Kokshaysky, Matt Turner, Andrew Morton, linux-kernel,
	kernel-janitors

Replace EXTRA_CFLAGS with ccflags-y and EXTRA_AFLAGS with asflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
---
 arch/alpha/kernel/Makefile   |    4 ++--
 arch/alpha/lib/Makefile      |    4 ++--
 arch/alpha/math-emu/Makefile |    2 +-
 arch/alpha/mm/Makefile       |    2 +-
 arch/alpha/oprofile/Makefile |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/alpha/kernel/Makefile b/arch/alpha/kernel/Makefile
index 1ee9b5b..9bb7b85 100644
--- a/arch/alpha/kernel/Makefile
+++ b/arch/alpha/kernel/Makefile
@@ -3,8 +3,8 @@
 #
 
 extra-y		:= head.o vmlinux.lds
-EXTRA_AFLAGS	:= $(KBUILD_CFLAGS)
-EXTRA_CFLAGS	:= -Werror -Wno-sign-compare
+asflags-y	:= $(KBUILD_CFLAGS)
+ccflags-y	:= -Werror -Wno-sign-compare
 
 obj-y    := entry.o traps.o process.o init_task.o osf_sys.o irq.o \
 	    irq_alpha.o signal.o setup.o ptrace.o time.o \
diff --git a/arch/alpha/lib/Makefile b/arch/alpha/lib/Makefile
index 9b72c59..c0a83ab 100644
--- a/arch/alpha/lib/Makefile
+++ b/arch/alpha/lib/Makefile
@@ -2,8 +2,8 @@
 # Makefile for alpha-specific library files..
 #
 
-EXTRA_AFLAGS := $(KBUILD_CFLAGS)
-EXTRA_CFLAGS := -Werror
+asflags-y := $(KBUILD_CFLAGS)
+ccflags-y := -Werror
 
 # Many of these routines have implementations tuned for ev6.
 # Choose them iff we're targeting ev6 specifically.
diff --git a/arch/alpha/math-emu/Makefile b/arch/alpha/math-emu/Makefile
index 359ef08..7f46719 100644
--- a/arch/alpha/math-emu/Makefile
+++ b/arch/alpha/math-emu/Makefile
@@ -2,7 +2,7 @@
 # Makefile for the FPU instruction emulation.
 #
 
-EXTRA_CFLAGS := -w
+ccflags-y := -w
 
 obj-$(CONFIG_MATHEMU) += math-emu.o
 
diff --git a/arch/alpha/mm/Makefile b/arch/alpha/mm/Makefile
index 09399c5..c993d3f 100644
--- a/arch/alpha/mm/Makefile
+++ b/arch/alpha/mm/Makefile
@@ -2,7 +2,7 @@
 # Makefile for the linux alpha-specific parts of the memory manager.
 #
 
-EXTRA_CFLAGS := -Werror
+ccflags-y := -Werror
 
 obj-y	:= init.o fault.o extable.o
 
diff --git a/arch/alpha/oprofile/Makefile b/arch/alpha/oprofile/Makefile
index 4aa5624..3473de7 100644
--- a/arch/alpha/oprofile/Makefile
+++ b/arch/alpha/oprofile/Makefile
@@ -1,4 +1,4 @@
-EXTRA_CFLAGS := -Werror -Wno-sign-compare
+ccflags-y := -Werror -Wno-sign-compare
 
 obj-$(CONFIG_OPROFILE) += oprofile.o
 
-- 
1.7.2.1


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

* Re: [PATCH 03/20] alpha: change to new flag variables
  2010-09-23  6:50 [PATCH 03/20] alpha: change to new flag variables matt mooney
@ 2011-01-17  4:38 ` Matt Turner
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2011-01-17  4:38 UTC (permalink / raw)
  To: matt mooney
  Cc: Richard Henderson, Ivan Kokshaysky, Andrew Morton, linux-kernel,
	kernel-janitors

On Thu, Sep 23, 2010 at 6:50 AM, matt mooney <mfm@muteddisk.com> wrote:
> Replace EXTRA_CFLAGS with ccflags-y and EXTRA_AFLAGS with asflags-y.
>
> Signed-off-by: matt mooney <mfm@muteddisk.com>
> ---
>  arch/alpha/kernel/Makefile   |    4 ++--
>  arch/alpha/lib/Makefile      |    4 ++--
>  arch/alpha/math-emu/Makefile |    2 +-
>  arch/alpha/mm/Makefile       |    2 +-
>  arch/alpha/oprofile/Makefile |    2 +-
>  5 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/arch/alpha/kernel/Makefile b/arch/alpha/kernel/Makefile
> index 1ee9b5b..9bb7b85 100644
> --- a/arch/alpha/kernel/Makefile
> +++ b/arch/alpha/kernel/Makefile
> @@ -3,8 +3,8 @@
>  #
>
>  extra-y                := head.o vmlinux.lds
> -EXTRA_AFLAGS   := $(KBUILD_CFLAGS)
> -EXTRA_CFLAGS   := -Werror -Wno-sign-compare
> +asflags-y      := $(KBUILD_CFLAGS)
> +ccflags-y      := -Werror -Wno-sign-compare
>
>  obj-y    := entry.o traps.o process.o init_task.o osf_sys.o irq.o \
>            irq_alpha.o signal.o setup.o ptrace.o time.o \
> diff --git a/arch/alpha/lib/Makefile b/arch/alpha/lib/Makefile
> index 9b72c59..c0a83ab 100644
> --- a/arch/alpha/lib/Makefile
> +++ b/arch/alpha/lib/Makefile
> @@ -2,8 +2,8 @@
>  # Makefile for alpha-specific library files..
>  #
>
> -EXTRA_AFLAGS := $(KBUILD_CFLAGS)
> -EXTRA_CFLAGS := -Werror
> +asflags-y := $(KBUILD_CFLAGS)
> +ccflags-y := -Werror
>
>  # Many of these routines have implementations tuned for ev6.
>  # Choose them iff we're targeting ev6 specifically.
> diff --git a/arch/alpha/math-emu/Makefile b/arch/alpha/math-emu/Makefile
> index 359ef08..7f46719 100644
> --- a/arch/alpha/math-emu/Makefile
> +++ b/arch/alpha/math-emu/Makefile
> @@ -2,7 +2,7 @@
>  # Makefile for the FPU instruction emulation.
>  #
>
> -EXTRA_CFLAGS := -w
> +ccflags-y := -w
>
>  obj-$(CONFIG_MATHEMU) += math-emu.o
>
> diff --git a/arch/alpha/mm/Makefile b/arch/alpha/mm/Makefile
> index 09399c5..c993d3f 100644
> --- a/arch/alpha/mm/Makefile
> +++ b/arch/alpha/mm/Makefile
> @@ -2,7 +2,7 @@
>  # Makefile for the linux alpha-specific parts of the memory manager.
>  #
>
> -EXTRA_CFLAGS := -Werror
> +ccflags-y := -Werror
>
>  obj-y  := init.o fault.o extable.o
>
> diff --git a/arch/alpha/oprofile/Makefile b/arch/alpha/oprofile/Makefile
> index 4aa5624..3473de7 100644
> --- a/arch/alpha/oprofile/Makefile
> +++ b/arch/alpha/oprofile/Makefile
> @@ -1,4 +1,4 @@
> -EXTRA_CFLAGS := -Werror -Wno-sign-compare
> +ccflags-y := -Werror -Wno-sign-compare
>
>  obj-$(CONFIG_OPROFILE) += oprofile.o
>
> --
> 1.7.2.1

Thanks for the patch. This has been applied and will be sent to Linus for .38.

Matt

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

end of thread, other threads:[~2011-01-17  4:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-23  6:50 [PATCH 03/20] alpha: change to new flag variables matt mooney
2011-01-17  4:38 ` Matt Turner

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).