Add C_FLAGS list in the cdef files
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 19 Mar 2009 11:11:03 +0000 (11:11 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 19 Mar 2009 11:11:03 +0000 (11:11 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2392 38d2e660-2303-0410-9eaa-f027e97ec537

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

index e6410c62e93efab8b3e34f44a48d111eea0bfa95..c305d5ed394a30f5c2cd0b99af892c76d96dbb7e 100644 (file)
@@ -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" ]
index 2099f6889108fcc43ec3ae09edb25fbce000e7eb..946818733de767f0e4475377db8f416c072670e1 100644 (file)
@@ -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" ]