summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opkbuild.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index bcb148e..44593dd 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -70,7 +70,8 @@ main()
oh_locale_set
oh_set_source_dir .
- get_options
+ get_options "${@}"
+ shift $(($OPTIND - 1))
if [ "${#}" -ne 0 ]; then
oh_usage
exit 1
@@ -171,7 +172,6 @@ get_options()
;;
esac
done
- shift $(($OPTIND - 1))
# Set default option values.
[ -z "${OPT_BUILD}" ] && OPT_BUILD=full
@@ -302,6 +302,7 @@ setup_build_flags()
setup_build_platform()
{
# TODO: Get build platform from opkg.
+ :
}
setup_host_arch()