diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-09-21 08:08:36 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-09-21 08:08:36 (EDT) |
commit | dd545d3c52848a2c5136e6a6be9ed6b695917824 (patch) | |
tree | 4c5393772cbdc73672a2da77d2ed47562a5d8b36 /src | |
parent | 7d2eb0466ab7d124aca6201675ab2525069d7b71 (diff) |
opkbuild: Accept -B and -P options
Diffstat (limited to 'src')
-rw-r--r-- | src/opkbuild.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh index 1837db1..6687c38 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -107,7 +107,7 @@ get_options() { # Parse and handle command-line options. # Remember to update the optstring file when changing this. - while getopts 'bBASFT:a:p:DdCcr:hV' opt; do + while getopts 'bBPSFT:a:p:DdCcr:hV' opt; do case "${opt}" in b) if [ -n "${opt_build}" ]; then @@ -119,13 +119,13 @@ get_options() if [ -n "${opt_build}" ]; then ob_error "$(ob_get_msg 'bbasf_mutex')" fi - opt_build='binary-arch' + opt_build='binary-arch-dep' ;; - A) + P) if [ -n "${opt_build}" ]; then ob_error "$(ob_get_msg 'bbasf_mutex')" fi - opt_build='binary-indep' + opt_build='binary-plat-dep' ;; S) if [ -n "${opt_build}" ]; then |