1 | # Copyright 1999-2013 Gentoo Foundation |
1 | # Copyright 1999-2014 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.102 2013/09/29 02:49:40 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.103 2014/03/21 22:03:00 robbat2 Exp $ |
4 | |
4 | |
5 | # @ECLASS: linux-info.eclass |
5 | # @ECLASS: linux-info.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # kernel-misc@gentoo.org |
7 | # kernel-misc@gentoo.org |
8 | # @AUTHOR: |
8 | # @AUTHOR: |
… | |
… | |
447 | |
447 | |
448 | if [ -z "${KV_DIR}" ] |
448 | if [ -z "${KV_DIR}" ] |
449 | then |
449 | then |
450 | if [ -z "${get_version_warning_done}" ]; then |
450 | if [ -z "${get_version_warning_done}" ]; then |
451 | get_version_warning_done=1 |
451 | get_version_warning_done=1 |
452 | qeerror "Unable to find kernel sources at ${KERNEL_DIR}" |
452 | qewarn "Unable to find kernel sources at ${KERNEL_DIR}" |
453 | #qeinfo "This package requires Linux sources." |
453 | #qeinfo "This package requires Linux sources." |
454 | if [ "${KERNEL_DIR}" == "/usr/src/linux" ] ; then |
454 | if [ "${KERNEL_DIR}" == "/usr/src/linux" ] ; then |
455 | qeinfo "Please make sure that ${KERNEL_DIR} points at your running kernel, " |
455 | qeinfo "Please make sure that ${KERNEL_DIR} points at your running kernel, " |
456 | qeinfo "(or the kernel you wish to build against)." |
456 | qeinfo "(or the kernel you wish to build against)." |
457 | qeinfo "Alternatively, set the KERNEL_DIR environment variable to the kernel sources location" |
457 | qeinfo "Alternatively, set the KERNEL_DIR environment variable to the kernel sources location" |