|
|
@@ -13,7 +13,11 @@ src += Glob('port/*.c')
|
|
|
path = [cwd + '/']
|
|
|
path += [cwd + '/port']
|
|
|
|
|
|
-LOCAL_CCFLAGS = ' -include "port/mpy_project_cfg.h"'
|
|
|
+if rtconfig.CROSS_TOOL == 'keil':
|
|
|
+ LOCAL_CCFLAGS = ' -I "port/mpy_project_cfg.h"'
|
|
|
+else :
|
|
|
+ LOCAL_CCFLAGS = ' -include "port/mpy_project_cfg.h"'
|
|
|
+
|
|
|
|
|
|
if rtconfig.CROSS_TOOL == 'gcc':
|
|
|
LOCAL_CCFLAGS += ' -std=c99'
|