projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a first stub of the makefile generation function
[bertos.git]
/
wizard
/
bertos.py
diff --git
a/wizard/bertos.py
b/wizard/bertos.py
index c731e57448c97b2c2c16a9f0a5a4ead81b7f2c36..78c34946b3ad093a1954764093b79c5c485ef703 100755
(executable)
--- a/
wizard/bertos.py
+++ b/
wizard/bertos.py
@@
-9,6
+9,7
@@
# Author: Lorenzo Berni <duplo@develer.com>
#
# Author: Lorenzo Berni <duplo@develer.com>
#
+import os
import sys
from distutils.dep_util import newer
import sys
from distutils.dep_util import newer
@@
-20,10
+21,17
@@
import BProject
import BStartPage
import BWizard
import BStartPage
import BWizard
+import bertos_utils
+
def newProject():
wizard = BWizard.BWizard()
wizard.show()
def newProject():
wizard = BWizard.BWizard()
wizard.show()
- wizard.exec_()
+ if wizard.exec_():
+ prj = wizard.project()
+ output = prj.info("OUTPUT")
+ if output == "makefile":
+ ## Now only supports the BeRTOS build system
+ bertos_utils.createBertosProject(prj)
def editProject():
print "editProject"
def editProject():
print "editProject"