# HG changeset patch # User diego # Date 1174130115 0 # Node ID 410b5eeec8c2271bc3ab5f927b2ac17a01fa88b3 # Parent 9babdd441b76037bd5aa32175a03dc8d34e4728a Put -D options in CPPFLAGS, don't duplicate -D__KERNEL__. diff -r 9babdd441b76 -r 410b5eeec8c2 drivers/radeon/Makefile --- a/drivers/radeon/Makefile Sat Mar 17 09:40:27 2007 +0000 +++ b/drivers/radeon/Makefile Sat Mar 17 11:15:15 2007 +0000 @@ -10,11 +10,11 @@ # standard CFLAGS # -CPPFLAGS := -D__KERNEL__ -I$(KERNEL_INCLUDES) +CPPFLAGS := -D__KERNEL__ -DMODULE -I$(KERNEL_INCLUDES) CFLAGS := $(CPPFLAGS) -O2 \ -fomit-frame-pointer -fno-strict-aliasing -fno-common -ffast-math\ - -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h + -include $(KERNEL_INCLUDES)/linux/modversions.h AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)