From aa67e4be2b7773ab898d9f6e5b4e948ee29315c2 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 3 Oct 2012 14:41:57 -0500 Subject: [PATCH] cleanup: factor out armel Signed-off-by: Robert Nelson --- mk_mmc.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index d537b87..c2a6b41 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1762,22 +1762,20 @@ function check_uboot_type { function check_distro { unset IN_VALID_DISTRO + ARCH="armel" + case "${DISTRO_TYPE}" in maverick) DIST="maverick" - ARCH="armel" ;; natty) DIST="natty" - ARCH="armel" ;; oneiric) DIST="oneiric" - ARCH="armel" ;; precise-armel) DIST="precise" - ARCH="armel" ;; precise-armhf) DIST="precise" @@ -1789,11 +1787,9 @@ function check_distro { ;; squeeze) DIST="squeeze" - ARCH="armel" ;; wheezy-armel) DIST="wheezy" - ARCH="armel" ;; wheezy-armhf) DIST="wheezy"