Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: kernel-2.eclass
Date: Mon, 26 Apr 2010 06:48:37
Message-Id: 20100426064833.DDD712C04C@corvid.gentoo.org
1 robbat2 10/04/26 06:48:33
2
3 Modified: kernel-2.eclass
4 Log:
5 Refactor debug-print-kernel2-variables to make it faster to add new stuff.
6
7 Revision Changes Path
8 1.228 eclass/kernel-2.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kernel-2.eclass?rev=1.228&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kernel-2.eclass?rev=1.228&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kernel-2.eclass?r1=1.227&r2=1.228
13
14 Index: kernel-2.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v
17 retrieving revision 1.227
18 retrieving revision 1.228
19 diff -p -w -b -B -u -u -r1.227 -r1.228
20 --- kernel-2.eclass 26 Apr 2010 06:46:25 -0000 1.227
21 +++ kernel-2.eclass 26 Apr 2010 06:48:33 -0000 1.228
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.227 2010/04/26 06:46:25 robbat2 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.228 2010/04/26 06:48:33 robbat2 Exp $
27
28 # Description: kernel.eclass rewrite for a clean base regarding the 2.6
29 # series of kernel with back-compatibility for 2.4
30 @@ -91,21 +91,11 @@ RESTRICT="binchecks strip"
31 # if you are adding new functionality in, put a call to it
32 # at the start of src_unpack, or during SRC_URI/dep generation.
33 debug-print-kernel2-variables() {
34 - debug-print "PVR: ${PVR}"
35 - debug-print "CKV: ${CKV}"
36 - debug-print "OKV: ${OKV}"
37 - debug-print "KV: ${KV}"
38 - debug-print "KV_FULL: ${KV_FULL}"
39 - debug-print "KV_MAJOR: ${KV_MAJOR}"
40 - debug-print "KV_MINOR: ${KV_MINOR}"
41 - debug-print "KV_PATCH: ${KV_PATCH}"
42 - debug-print "RELEASETYPE: ${RELEASETYPE}"
43 - debug-print "RELEASE: ${RELEASE}"
44 - debug-print "UNIPATCH_LIST_DEFAULT: ${UNIPATCH_LIST_DEFAULT} "
45 - debug-print "UNIPATCH_LIST_GENPATCHES: ${UNIPATCH_LIST_GENPATCHES} "
46 - debug-print "UNIPATCH_LIST: ${UNIPATCH_LIST}"
47 - debug-print "S: ${S}"
48 - debug-print "KERNEL_URI: ${KERNEL_URI}"
49 + for v in PVR CKV OKV KV KV_FULL KV_MAJOR KV_MINOR KV_PATCH RELEASETYPE \
50 + RELEASE UNIPATCH_LIST_DEFAULT UNIPATCH_LIST_GENPATCHES \
51 + UNIPATCH_LIST S KERNEL_URI ; do
52 + debug-print "${v}: ${!v}"
53 + done
54 }
55
56 #Eclass functions only from here onwards ...