cleanup: factor out armel

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/10/merge
Robert Nelson 12 years ago
parent 7179543cd8
commit aa67e4be2b

@ -1762,22 +1762,20 @@ function check_uboot_type {
function check_distro { function check_distro {
unset IN_VALID_DISTRO unset IN_VALID_DISTRO
ARCH="armel"
case "${DISTRO_TYPE}" in case "${DISTRO_TYPE}" in
maverick) maverick)
DIST="maverick" DIST="maverick"
ARCH="armel"
;; ;;
natty) natty)
DIST="natty" DIST="natty"
ARCH="armel"
;; ;;
oneiric) oneiric)
DIST="oneiric" DIST="oneiric"
ARCH="armel"
;; ;;
precise-armel) precise-armel)
DIST="precise" DIST="precise"
ARCH="armel"
;; ;;
precise-armhf) precise-armhf)
DIST="precise" DIST="precise"
@ -1789,11 +1787,9 @@ function check_distro {
;; ;;
squeeze) squeeze)
DIST="squeeze" DIST="squeeze"
ARCH="armel"
;; ;;
wheezy-armel) wheezy-armel)
DIST="wheezy" DIST="wheezy"
ARCH="armel"
;; ;;
wheezy-armhf) wheezy-armhf)
DIST="wheezy" DIST="wheezy"

Loading…
Cancel
Save