/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.165 Revision 1.166
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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/kernel-2.eclass,v 1.165 2006/03/18 18:38:11 swegener Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.166 2006/03/27 10:49:59 johnm Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Maintainer: John Mylchreest <johnm@gentoo.org> 8# Maintainer: John Mylchreest <johnm@gentoo.org>
599 599
600 # if we have USE=symlink, then force K_SYMLINK=1 600 # if we have USE=symlink, then force K_SYMLINK=1
601 use symlink && K_SYMLINK=1 601 use symlink && K_SYMLINK=1
602 602
603 # if we are to forcably symlink, delete it if it already exists first. 603 # if we are to forcably symlink, delete it if it already exists first.
604 if [[ -n ${K_SYMLINK} ]]; then 604 if [[ ${K_SYMLINK} > 0 ]]; then
605 [[ -h ${ROOT}usr/src/linux ]] && rm ${ROOT}usr/src/linux 605 [[ -h ${ROOT}usr/src/linux ]] && rm ${ROOT}usr/src/linux
606 MAKELINK=1 606 MAKELINK=1
607 fi 607 fi
608 608
609 # if the link doesnt exist, lets create it 609 # if the link doesnt exist, lets create it

Legend:
Removed from v.1.165  
changed lines
  Added in v.1.166

  ViewVC Help
Powered by ViewVC 1.1.20