changeset 22662:410b5eeec8c2

Put -D options in CPPFLAGS, don't duplicate -D__KERNEL__.
author diego
date Sat, 17 Mar 2007 11:15:15 +0000
parents 9babdd441b76
children b2d38d01bcc2
files drivers/radeon/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)