/[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.303 Revision 1.304
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 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.303 2015/04/29 00:07:30 mpagano Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.304 2015/05/14 19:26:29 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>
54# my-sources-2.6.12.ebuild 54# my-sources-2.6.12.ebuild
55# K_SECURITY_UNSUPPORTED- If set, this kernel is unsupported by Gentoo Security 55# K_SECURITY_UNSUPPORTED- If set, this kernel is unsupported by Gentoo Security
56# K_DEBLOB_AVAILABLE - A value of "0" will disable all of the optional deblob 56# K_DEBLOB_AVAILABLE - A value of "0" will disable all of the optional deblob
57# code. If empty, will be set to "1" if deblobbing is 57# code. If empty, will be set to "1" if deblobbing is
58# possible. Test ONLY for "1". 58# possible. Test ONLY for "1".
59# K_DEBLOB_TAG - This will be the version of deblob script. It's a upstream SVN tag
60# such asw -gnu or -gnu1.
59# K_PREDEBLOBBED - This kernel was already deblobbed elsewhere. 61# K_PREDEBLOBBED - This kernel was already deblobbed elsewhere.
60# If false, either optional deblobbing will be available 62# If false, either optional deblobbing will be available
61# or the license will note the inclusion of freedist 63# or the license will note the inclusion of freedist
62# code. 64# code.
63# K_LONGTERM - If set, the eclass will search for the kernel source 65# K_LONGTERM - If set, the eclass will search for the kernel source
474 476
475 if [[ ${KV_MAJOR} -ge 3 ]]; then 477 if [[ ${KV_MAJOR} -ge 3 ]]; then
476 DEBLOB_PV="${KV_MAJOR}.${KV_MINOR}" 478 DEBLOB_PV="${KV_MAJOR}.${KV_MINOR}"
477 fi 479 fi
478 480
481 # deblob svn tag, default is -gnu, to change, use K_DEBLOB_TAG in ebuild
482 K_DEBLOB_TAG=${K_DEBLOB_TAG:--gnu}
479 DEBLOB_A="deblob-${DEBLOB_PV}" 483 DEBLOB_A="deblob-${DEBLOB_PV}"
480 DEBLOB_CHECK_A="deblob-check-${DEBLOB_PV}" 484 DEBLOB_CHECK_A="deblob-check-${DEBLOB_PV}"
481 DEBLOB_HOMEPAGE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" 485 DEBLOB_HOMEPAGE="http://www.fsfla.org/svn/fsfla/software/linux-libre/releases/tags"
482 DEBLOB_URI_PATH="download/releases/LATEST-${DEBLOB_PV}.N" 486 DEBLOB_URI_PATH="${DEBLOB_PV}${K_DEBLOB_TAG}"
483 if ! has "${EAPI:-0}" 0 1 ; then 487 if ! has "${EAPI:-0}" 0 1 ; then
484 DEBLOB_CHECK_URI="${DEBLOB_HOMEPAGE}/${DEBLOB_URI_PATH}/deblob-check -> ${DEBLOB_CHECK_A}" 488 DEBLOB_CHECK_URI="${DEBLOB_HOMEPAGE}/${DEBLOB_URI_PATH}/deblob-check -> ${DEBLOB_CHECK_A}"
485 else 489 else
486 DEBLOB_CHECK_URI="mirror://gentoo/${DEBLOB_CHECK_A}" 490 DEBLOB_CHECK_URI="mirror://gentoo/${DEBLOB_CHECK_A}"
487 fi 491 fi
492
488 DEBLOB_URI="${DEBLOB_HOMEPAGE}/${DEBLOB_URI_PATH}/${DEBLOB_A}" 493 DEBLOB_URI="${DEBLOB_HOMEPAGE}/${DEBLOB_URI_PATH}/${DEBLOB_A}"
489 HOMEPAGE="${HOMEPAGE} ${DEBLOB_HOMEPAGE}" 494 HOMEPAGE="${HOMEPAGE} ${DEBLOB_HOMEPAGE}"
490 495
491 KERNEL_URI="${KERNEL_URI} 496 KERNEL_URI="${KERNEL_URI}
492 deblob? ( 497 deblob? (

Legend:
Removed from v.1.303  
changed lines
  Added in v.1.304

  ViewVC Help
Powered by ViewVC 1.1.20