summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh8
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