Updating error message on arm/armel regarding kernel flavour selection.

This commit is contained in:
Daniel Baumann 2010-02-17 14:57:12 +01:00
parent 2cc07bd7cd
commit 67af4a1ce9
1 changed files with 6 additions and 5 deletions

View File

@ -440,6 +440,12 @@ Set_defaults ()
if [ -z "${LH_LINUX_FLAVOURS}" ]
then
case "${LH_ARCHITECTURE}" in
arm|armel)
Echo_error "There is no default kernel flavour defined for your architecture."
Echo_error "Please configure it manually with 'lh config -k FLAVOUR'."
exit 1
;;
alpha)
case "${LH_MODE}" in
ubuntu)
@ -530,11 +536,6 @@ Set_defaults ()
LH_LINUX_FLAVOURS="sparc64"
;;
arm|armel|m68k)
Echo_error "You need to specify the linux kernel flavour manually on ${LH_ARCHITECTURE} (FIXME)."
exit 1
;;
*)
Echo_error "Architecture ${LH_ARCHITECTURE} not yet supported (FIXME)"
exit 1