Removed unnecessary options
This commit is contained in:
parent
307e4b6289
commit
9f1b836034
@ -8,22 +8,15 @@ source $SCRIPTDIR/common.sh
|
|||||||
##############################################################
|
##############################################################
|
||||||
# main
|
# main
|
||||||
##############################################################
|
##############################################################
|
||||||
while getopts "flpu:" opt; do
|
while getopts "fu:" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
f)
|
f)
|
||||||
echo "fastboot enabled"
|
echo "fastboot enabled"
|
||||||
METHOD=fastboot
|
METHOD=fastboot
|
||||||
;;
|
;;
|
||||||
l)
|
|
||||||
echo "factory mode remain in u-boot after flashing"
|
|
||||||
AFTER_FLASHING=loop
|
|
||||||
;;
|
|
||||||
u)
|
u)
|
||||||
BUILDROOT_OUTPUT_DIR="${OPTARG}"
|
BUILDROOT_OUTPUT_DIR="${OPTARG}"
|
||||||
;;
|
;;
|
||||||
p)
|
|
||||||
POCKET_CHIP=true
|
|
||||||
;;
|
|
||||||
\?)
|
\?)
|
||||||
echo "Invalid option: -$OPTARG" >&2
|
echo "Invalid option: -$OPTARG" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user