Removed unnecessary options

This commit is contained in:
computermouth 2016-03-16 15:49:33 -07:00
parent 307e4b6289
commit 9f1b836034
1 changed files with 1 additions and 8 deletions

View File

@ -8,22 +8,15 @@ source $SCRIPTDIR/common.sh
##############################################################
# main
##############################################################
while getopts "flpu:" opt; do
while getopts "fu:" opt; do
case $opt in
f)
echo "fastboot enabled"
METHOD=fastboot
;;
l)
echo "factory mode remain in u-boot after flashing"
AFTER_FLASHING=loop
;;
u)
BUILDROOT_OUTPUT_DIR="${OPTARG}"
;;
p)
POCKET_CHIP=true
;;
\?)
echo "Invalid option: -$OPTARG" >&2
exit 1