diff options
author | Ronan Le Martret <ronan@fridu.net> | 2013-07-16 15:46:56 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2013-07-16 15:46:56 +0200 |
commit | cbd469ab05d3e6035016fe27b544f2bcc3a3e8fa (patch) | |
tree | b506598b0812c589ec25d2fcb52368589edaa373 /tools | |
parent | d0102d81feb7d7c9d899fb1117058b6695200285 (diff) | |
download | tizen-cbd469ab05d3e6035016fe27b544f2bcc3a3e8fa.tar.gz tizen-cbd469ab05d3e6035016fe27b544f2bcc3a3e8fa.tar.bz2 tizen-cbd469ab05d3e6035016fe27b544f2bcc3a3e8fa.zip |
- update project config.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gitCloneAll.sh | 2 | ||||
-rwxr-xr-x | tools/spec2yocto.py | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/tools/gitCloneAll.sh b/tools/gitCloneAll.sh index cc939b2a6..a2a890d3f 100755 --- a/tools/gitCloneAll.sh +++ b/tools/gitCloneAll.sh @@ -1,5 +1,5 @@ #!/bin/bash -cd /home/ronanguirec/yoctoTizen/prometa-Tizen_ivi_3.0 +cd /home/ronanguirec/yoctoTizen/proto-meta-Tizen_ivi_3.0 mkdir -p git_package mkdir -p specfile-initial diff --git a/tools/spec2yocto.py b/tools/spec2yocto.py index e368830d6..9fab14770 100755 --- a/tools/spec2yocto.py +++ b/tools/spec2yocto.py @@ -2426,6 +2426,10 @@ class spec2yoctoCommandline( cmdln.Cmdln ): dump_group(project,group_dico) + @cmdln.option( "--debug", + action = "store", + default = None, + help = "run the in debug mode.[yes/no]" ) @cmdln.option( "--project", action = "store", default = None, @@ -2440,6 +2444,12 @@ class spec2yoctoCommandline( cmdln.Cmdln ): ${cmd_usage}-- ${cmd_option_list} """ + global DEBUG_RUN + if opts.debug == "no": + DEBUG_RUN = False + elif opts.debug == "yes": + DEBUG_RUN = True + if opts.project is None: project = SPEC2YOCTO_CONFIG.get_current_project() else: @@ -2482,6 +2492,10 @@ class spec2yoctoCommandline( cmdln.Cmdln ): if res != 1: print res + @cmdln.option( "--debug", + action = "store", + default = None, + help = "run the in debug mode.[yes/no]" ) @cmdln.option( "--project", action = "store", default = None, @@ -2496,6 +2510,12 @@ class spec2yoctoCommandline( cmdln.Cmdln ): ${cmd_usage}-- ${cmd_option_list} """ + global DEBUG_RUN + if opts.debug == "no": + DEBUG_RUN = False + elif opts.debug == "yes": + DEBUG_RUN = True + if opts.project is None: project = SPEC2YOCTO_CONFIG.get_current_project() else: |