diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-07-04 10:45:46 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-07-04 10:45:46 +0200 |
commit | b66ef28d98ccb4874890ddc4f4612955e712349b (patch) | |
tree | c22726bc086acb17e53af1a5a617eae1a9cfc34f | |
parent | 87436f83141de7719a1aac4a8bd4321e99973cbb (diff) |
[Compsys] new option
-rw-r--r-- | net:foret/completion/_sdk-targets | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net:foret/completion/_sdk-targets b/net:foret/completion/_sdk-targets index de77138..4f9fe87 100644 --- a/net:foret/completion/_sdk-targets +++ b/net:foret/completion/_sdk-targets @@ -3,7 +3,8 @@ _sdk-targets() { _platforms () { - awk '/^ [-_a-zA-Z0-9]+$/ { print $1 }' tools/sdk-targets.txt + local _targets_file=tools/sdk-targets.txt + [ -f $_targets_file ] && awk '/^ [-_a-zA-Z0-9]+$/ { print $1 }' $_targets_file } _current_target () { @@ -39,6 +40,7 @@ _sdk-targets() { '(-f)'{-p,--protocols-only}'[Generates only the protocols bundle libraries]'\ {-g,--enable-debug-info}'[Enable debug info in binaries]'\ {-h,--enable-host}'[Enable host binaries building]'\ + {-i,--disable-security}'[Disable licence checking]'\ {-n,--nomake}'[No make done]'\ {-s,--enable-specific-protocols}'[Enable specific protocols]'\ {-v,--verbose}'[Enable verbose compilation]'\ |