From dd545d3c52848a2c5136e6a6be9ed6b695917824 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Sep 2014 08:08:36 -0400 Subject: opkbuild: Accept -B and -P options --- 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 -- cgit v0.9.1