Patchwork [4/6] UBUNTU: Add armhf to Debian -> Linux arch map

login
register
mail settings
Submitter Loïc Minier
Date March 16, 2011, 12:30 a.m.
Message ID <1300235418-19872-5-git-send-email-loic.minier@linaro.org>
Download mbox | patch
Permalink /patch/87134/
State New
Headers show

Comments

Loïc Minier - March 16, 2011, 12:30 a.m.
debian/scripts/misc/kernelconfig: add support for armhf to Debian ->
Linux arch map.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
---
 debian/scripts/misc/kernelconfig |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

Patch

diff --git a/debian/scripts/misc/kernelconfig b/debian/scripts/misc/kernelconfig
index 6432276..8812b61 100755
--- a/debian/scripts/misc/kernelconfig
+++ b/debian/scripts/misc/kernelconfig
@@ -46,12 +46,12 @@  for arch in $archs; do
 
 	# Map debian archs to kernel archs
 	case "$arch" in
-		ppc64)	kernarch="powerpc"	;;
-		amd64)	kernarch="x86_64"	;;
-		lpia)   kernarch="x86" 		;;
-		sparc)	kernarch="sparc64"	;;
-		armel)	kernarch="arm"		;;
-		*)	kernarch="$arch"	;;
+		ppc64)		kernarch="powerpc"	;;
+		amd64)		kernarch="x86_64"	;;
+		lpia)		kernarch="x86" 		;;
+		sparc)		kernarch="sparc64"	;;
+		armel|armhf)	kernarch="arm"		;;
+		*)		kernarch="$arch"	;;
 	esac
 
 	archconfdir=$confdir/$arch