Skip to contentSkip to conversation

alpha: change to new flag variables

PATCH Applied matt mooney 2 participants 2 messages Sep 23, 2010 – Jan 17, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/20 alpha: change to new flag variables

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

---
 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(-)
arch/alpha/kernel/Makefile +2 -2
index 1ee9b5b..9bb7b85 100644
@@ -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 \
arch/alpha/lib/Makefile +2 -2
index 9b72c59..c0a83ab 100644
@@ -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.
arch/alpha/math-emu/Makefile +1 -1
index 359ef08..7f46719 100644
@@ -2,7 +2,7 @@
 # Makefile for the FPU instruction emulation.
 #
 
-EXTRA_CFLAGS := -w
+ccflags-y := -w
 
 obj-$(CONFIG_MATHEMU) += math-emu.o
 
arch/alpha/mm/Makefile +1 -1
index 09399c5..c993d3f 100644
@@ -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
 
arch/alpha/oprofile/Makefile +1 -1
index 4aa5624..3473de7 100644
@@ -1,4 +1,4 @@
-EXTRA_CFLAGS := -Werror -Wno-sign-compare
+ccflags-y := -Werror -Wno-sign-compare
 
 obj-$(CONFIG_OPROFILE) += oprofile.o
 
Signature · 1 line
1.7.2.1
maintainer
#1 lore raw
Quoted 77 lines · matt mooney

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

---
 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(-)
arch/alpha/kernel/Makefile +0 -0
index 1ee9b5b..9bb7b85 100644
@@ -3,8 +3,8 @@
  #
 

 extra-y                := head.o vmlinux.lds

arch/alpha/kernel/Makefile +2 -2
-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 \

arch/alpha/lib/Makefile +2 -2
index 9b72c59..c0a83ab 100644
@@ -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.
arch/alpha/math-emu/Makefile +1 -1
index 359ef08..7f46719 100644
@@ -2,7 +2,7 @@
  # Makefile for the FPU instruction emulation.
  #
 
-EXTRA_CFLAGS := -w
+ccflags-y := -w
 

 obj-$(CONFIG_MATHEMU) += math-emu.o

arch/alpha/mm/Makefile +1 -1
index 09399c5..c993d3f 100644
@@ -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

arch/alpha/oprofile/Makefile +1 -1
index 4aa5624..3473de7 100644
@@ -1,4 +1,4 @@
-EXTRA_CFLAGS := -Werror -Wno-sign-compare
+ccflags-y := -Werror -Wno-sign-compare
 

 obj-$(CONFIG_OPROFILE) += oprofile.o

Quoted 2 lines

--
1.7.2.1

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

Matt
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html