projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded variable.
[bertos.git]
/
wizard
/
bertos_utils.py
diff --git
a/wizard/bertos_utils.py
b/wizard/bertos_utils.py
index 0f0dc709bcd5e4041509fedd0a7d8a258479769b..0a1076911acf06ed8f470093c3c8c977b10f59f5 100644
(file)
--- a/
wizard/bertos_utils.py
+++ b/
wizard/bertos_utils.py
@@
-12,6
+12,8
@@
import os
import fnmatch
import os
import fnmatch
+import const
+
def isBertosDir(directory):
return os.path.exists(directory + "/VERSION")
def isBertosDir(directory):
return os.path.exists(directory + "/VERSION")
@@
-32,8
+34,9
@@
def findDefinitions(ftype, path):
def loadCpuInfos(path):
cpuInfos = []
def loadCpuInfos(path):
cpuInfos = []
- for definition in findDefinitions(
"cdef"
, path):
+ for definition in findDefinitions(
const.CPU_DEFINITION
, path):
D = {}
D = {}
+ D.update(const.CPU_DEF)
def include(filename, dict = D, directory=definition[1]):
execfile(directory + "/" + filename, {}, D)
D["include"] = include
def include(filename, dict = D, directory=definition[1]):
execfile(directory + "/" + filename, {}, D)
D["include"] = include