Skip to contentSkip to conversation

x86: change to new flag variables

PATCH Applied matt mooney 1 participant 1 message Sep 23, 2010

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

PATCH 17/20 x86: change to new flag variables

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

---
 arch/x86/kvm/Makefile      |    2 +-
 arch/x86/math-emu/Makefile |    4 ++--
 arch/x86/pci/Makefile      |    4 +---
 3 files changed, 4 insertions(+), 6 deletions(-)
arch/x86/kvm/Makefile +1 -1
index 31a7035..0feb536 100644
@@ -1,5 +1,5 @@
 
-EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
+ccflags-y := -Ivirt/kvm -Iarch/x86/kvm
 
 CFLAGS_x86.o := -I.
 CFLAGS_svm.o := -I.
arch/x86/math-emu/Makefile +2 -2
index 9b0c63b..a88eac2 100644
@@ -5,8 +5,8 @@
 #DEBUG	= -DDEBUGGING
 DEBUG	 PARANOID = -DPARANOID
-EXTRA_CFLAGS	:= $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION)
-EXTRA_AFLAGS	:= $(PARANOID)
+ccflags-y := $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION)
+asflags-y := $(PARANOID)
 
 # From 'C' language sources:
 C_OBJS =fpu_entry.o errors.o \
arch/x86/pci/Makefile +1 -3
index a0207a7..8e60497 100644
@@ -20,6 +20,4 @@ obj-y				+= amd_bus.o bus_numa.o
 
 obj-$(CONFIG_PCI_CNB20LE_QUIRK)	+= broadcom_bus.o
 
-ifeq ($(CONFIG_PCI_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
Signature · 1 line
1.7.2.1