From: duplo Date: Thu, 19 Mar 2009 11:11:03 +0000 (+0000) Subject: Add C_FLAGS list in the cdef files X-Git-Tag: 2.1.0~290 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=947fa269915f08922989a0faf971c216594ababf;p=bertos.git Add C_FLAGS list in the cdef files git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2392 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/info/at91sam7.common b/bertos/cpu/arm/info/at91sam7.common index e6410c62..c305d5ed 100644 --- a/bertos/cpu/arm/info/at91sam7.common +++ b/bertos/cpu/arm/info/at91sam7.common @@ -60,6 +60,7 @@ 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" ] LD_FLAGS = [ "-nostartfiles", "-Wl,--no-warn-mismatch" ] diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index 2099f688..94681873 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -60,13 +60,13 @@ DRV_DIR = CPU_DIR + "avr/drv/" # Common GCC flags. -C_FLAGS = [ "-O0", "-fno-strict-aliasing"] +C_FLAGS = [ "-O0", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"] # If you want to use, one o more, of these modules in your project you should compile in # different way. PC_SRC = [ "kdebug", - "formartwr", + "formatwr", "sprintf", "text_format", "text" ]