projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release version 2.4.1.
[bertos.git]
/
wizard
/
const.py
diff --git
a/wizard/const.py
b/wizard/const.py
index 4b2a3fccb10ea82f50d69482d57ce454f3ce8b37..697cd4637c0db2cb44b3d500e5f14203ca5d69c9 100644
(file)
--- a/
wizard/const.py
+++ b/
wizard/const.py
@@
-33,6
+33,14
@@
# Author: Lorenzo Berni <duplo@develer.com>
#
# Author: Lorenzo Berni <duplo@develer.com>
#
+import os, sys
+
+_tmp = sys.argv[0]
+if os.path.islink(_tmp):
+ _tmp = os.readlink(_tmp)
+DATA_DIR = os.path.dirname(os.path.abspath(_tmp))
+del _tmp
+
CPU_DEF = {
"CPU_NAME": "",
"CPU_DIR": "",
CPU_DEF = {
"CPU_NAME": "",
"CPU_DIR": "",
@@
-65,6
+73,8
@@
EXTENSION_FILTER = (
".cxx",
".h",
".c++",
".cxx",
".h",
".c++",
+ ".ld",
+ ".S",
".mk",
"Makefile",
)
".mk",
"Makefile",
)
@@
-83,3
+93,5
@@
MODULE_DEFINITION = {
"module_hw": "module_hw",
"module_supports": "module_supports",
}
"module_hw": "module_hw",
"module_supports": "module_supports",
}
+
+MK_PARAM_ID = "MK_"