/[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.297 Revision 1.298
1# Copyright 1999-2014 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/kernel-2.eclass,v 1.297 2014/11/28 17:40:20 mpagano Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.298 2015/02/13 01:30:50 mpagano 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# Original author: John Mylchreest <johnm@gentoo.org> 8# Original author: John Mylchreest <johnm@gentoo.org>
155 use_cond_end=" )" 155 use_cond_end=" )"
156 156
157 if use experimental ; then 157 if use experimental ; then
158 UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}" 158 UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}"
159 debug-print "genpatches tarball: $tarball" 159 debug-print "genpatches tarball: $tarball"
160
161 # check gcc version < 4.9.X uses patch 5000 and = 4.9.X uses patch 5010
162 if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -ne 9 ]]; then
163 # drop 5000_enable-additional-cpu-optimizations-for-gcc-4.9.patch
164 UNIPATCH_EXCLUDE+=" 5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch"
165 else
166 #drop 5000_enable-additional-cpu-optimizations-for-gcc.patch
167 UNIPATCH_EXCLUDE+=" 5000_enable-additional-cpu-optimizations-for-gcc.patch"
168 fi
169
160 fi 170 fi
161 else 171 else
162 UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}" 172 UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}"
163 debug-print "genpatches tarball: $tarball" 173 debug-print "genpatches tarball: $tarball"
164 fi 174 fi

Legend:
Removed from v.1.297  
changed lines
  Added in v.1.298

  ViewVC Help
Powered by ViewVC 1.1.20