drop --arch flag, as its been added to distro directly

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 347b46751a
commit fd37bed97c

@ -1504,26 +1504,6 @@ function check_distro {
fi fi
} }
function check_arch {
IN_VALID_ARCH=1
if test "-$ARCH_TYPE-" = "-armel-"
then
ARCH=armel
unset IN_VALID_ARCH
fi
if test "-$ARCH_TYPE-" = "-armhf-"
then
ARCH=armhf
unset IN_VALID_ARCH
fi
if [ "$IN_VALID_ARCH" ] ; then
usage
fi
}
function usage { function usage {
echo "usage: sudo $(basename $0) --mmc /dev/sdX --uboot <dev board>" echo "usage: sudo $(basename $0) --mmc /dev/sdX --uboot <dev board>"
cat <<EOF cat <<EOF
@ -1556,10 +1536,6 @@ Optional:
precise-armel (alpha) precise-armel (alpha)
precise-armhf (alpha) precise-armhf (alpha)
--arch
armel <default>
armhf <disabled, should be available in Debian Wheezy/Ubuntu Precise>
--addon <device> --addon <device>
pico pico
ulcd <beagle xm> ulcd <beagle xm>
@ -1632,11 +1608,6 @@ while [ ! -z "$1" ]; do
DISTRO_TYPE="$2" DISTRO_TYPE="$2"
check_distro check_distro
;; ;;
--arch)
checkparm $2
ARCH_TYPE="$2"
check_arch
;;
--firmware) --firmware)
FIRMWARE=1 FIRMWARE=1
;; ;;

Loading…
Cancel
Save