summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-09-28 15:07:30 +0000
committerIan Stakenvicius <axs@gentoo.org>2012-09-28 15:07:30 +0000
commit6a1faca9bb591db467955f03e3a2f450f4ddbd28 (patch)
tree2e93ea8cc60a2769ab713724ea3d817ccc90da2e /eclass/toolchain-funcs.eclass
parentAdd libpng and rc to MISC-FREE license group. (diff)
downloadhistorical-6a1faca9bb591db467955f03e3a2f450f4ddbd28.tar.gz
historical-6a1faca9bb591db467955f03e3a2f450f4ddbd28.tar.bz2
historical-6a1faca9bb591db467955f03e3a2f450f4ddbd28.zip
reverted fatal error from unset and made it a warning only shown when checking for 'kern' arch, so that the portage environment call of tc-arch will not fail anymore, bug 436450
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r--eclass/toolchain-funcs.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 7574944895d4..50825d156f30 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.118 2012/09/27 19:34:28 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.119 2012/09/28 15:07:30 axs Exp $
# @ECLASS: toolchain-funcs.eclass
# @MAINTAINER:
@@ -358,7 +358,8 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; }
[[ -z ${host} ]] && host=${CTARGET:-${CHOST}}
local KV=${KV:-${KV_FULL}}
- [[ -z ${KV} ]] && die "toolchain-funcs.eclass: Kernel version could not be determined, please inherit kernel-2 or linux-info"
+ [[ ${type} == "kern" ]] && [[ -z ${KV} ]] && \
+ ewarn "QA: Kernel version could not be determined, please inherit kernel-2 or linux-info"
case ${host} in
aarch64*) ninj aarch64 arm;;