Removed unnecessary options

chip/stable
computermouth 7 years ago
parent 307e4b6289
commit 9f1b836034
  1. 9
      chip-local-flash.sh

@ -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

Loading…
Cancel
Save