From: duplo Date: Wed, 15 Apr 2009 12:35:49 +0000 (+0000) Subject: Change cflags to cppflags X-Git-Tag: 2.1.0~175 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=0e3af97aae82cb7ca21366ff2c6cbb2794ae956a;p=bertos.git Change cflags to cppflags git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2507 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/info/at91sam7.common b/bertos/cpu/arm/info/at91sam7.common index b4e01fc6..b871bccd 100644 --- a/bertos/cpu/arm/info/at91sam7.common +++ b/bertos/cpu/arm/info/at91sam7.common @@ -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"] diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index be56dca6..140c2076 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -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",