Change cflags to cppflags
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 15 Apr 2009 12:35:49 +0000 (12:35 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 15 Apr 2009 12:35:49 +0000 (12:35 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2507 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/arm/info/at91sam7.common
bertos/cpu/avr/info/avr.common

index b4e01fc6545b767c4e19d350b257860354a47da8..b871bccd184c58122d5f3fcd8030e4d61c6eb8cc 100644 (file)
@@ -66,9 +66,8 @@ HW_DIR = CPU_DIR + "arm/hw/"
 DRV_DIR = CPU_DIR + "arm/drv/"
 
 # Common GCC flags.
-C_FLAGS = ["-I" + CPU_DIR + "arm/"]
 CPPA_FLAGS = [ "-O0", "-g -gdwarf-2", "-g -gen-debug" ]
-CPP_FLAGS = [ "-O0", "-g3 -gdwarf-2", "-fverbose-asm" ]
+CPP_FLAGS = [ "-O0", "-g3 -gdwarf-2", "-fverbose-asm", "-I" + CPU_DIR + "arm/" ]
 LD_FLAGS = [ "-nostartfiles", "-Wl,--no-warn-mismatch" ]
 # CRT file.
 CPPA_SRC = [ HW_DIR + "crtat91sam7_rom.S"]
index be56dca656e2797667271cca760c5a86452a4160..140c207627b107a42839b8f747fdb070dec6d587 100644 (file)
@@ -66,7 +66,7 @@ DRV_DIR = CPU_DIR + "avr/drv/"
 
 
 # Common GCC flags.
-C_FLAGS = [ "-Os", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"]
+CPP_FLAGS = [ "-Os", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"]
 
 SUPPORTED_DRV = [ "adc",
                  "flash",