Skip to content

Commit 8a362cd

Browse files
mfmooneyMatt Turner
authored andcommitted
alpha: change to new Makefile flag variables
Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
1 parent 7d209c8 commit 8a362cd

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎arch/alpha/kernel/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#
44

55
extra-y := head.o vmlinux.lds
6-
EXTRA_AFLAGS := $(KBUILD_CFLAGS)
7-
EXTRA_CFLAGS := -Werror -Wno-sign-compare
6+
asflags-y := $(KBUILD_CFLAGS)
7+
ccflags-y := -Werror -Wno-sign-compare
88

99
obj-y := entry.o traps.o process.o init_task.o osf_sys.o irq.o \
1010
irq_alpha.o signal.o setup.o ptrace.o time.o \

‎arch/alpha/lib/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Makefile for alpha-specific library files..
33
#
44

5-
EXTRA_AFLAGS := $(KBUILD_CFLAGS)
6-
EXTRA_CFLAGS := -Werror
5+
asflags-y := $(KBUILD_CFLAGS)
6+
ccflags-y := -Werror
77

88
# Many of these routines have implementations tuned for ev6.
99
# Choose them iff we're targeting ev6 specifically.

‎arch/alpha/math-emu/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Makefile for the FPU instruction emulation.
33
#
44

5-
EXTRA_CFLAGS := -w
5+
ccflags-y := -w
66

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

‎arch/alpha/mm/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Makefile for the linux alpha-specific parts of the memory manager.
33
#
44

5-
EXTRA_CFLAGS := -Werror
5+
ccflags-y := -Werror
66

77
obj-y := init.o fault.o extable.o
88

‎arch/alpha/oprofile/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
EXTRA_CFLAGS := -Werror -Wno-sign-compare
1+
ccflags-y := -Werror -Wno-sign-compare
22

33
obj-$(CONFIG_OPROFILE) += oprofile.o
44

0 commit comments

Comments
 (0)