Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: kernel-2.eclass
Date: Fri, 02 Dec 2011 02:28:26
Message-Id: 20111202022816.628EF2004C@flycatcher.gentoo.org
1 vapier 11/12/02 02:28:16
2
3 Modified: kernel-2.eclass
4 Log:
5 simplify default variable setup
6
7 Revision Changes Path
8 1.267 eclass/kernel-2.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kernel-2.eclass?rev=1.267&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kernel-2.eclass?rev=1.267&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kernel-2.eclass?r1=1.266&r2=1.267
13
14 Index: kernel-2.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v
17 retrieving revision 1.266
18 retrieving revision 1.267
19 diff -u -r1.266 -r1.267
20 --- kernel-2.eclass 2 Dec 2011 01:54:09 -0000 1.266
21 +++ kernel-2.eclass 2 Dec 2011 02:28:16 -0000 1.267
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2011 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.266 2011/12/02 01:54:09 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.267 2011/12/02 02:28:16 vapier 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 @@ -83,20 +83,18 @@
31 fi
32
33 HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ ${HOMEPAGE}"
34 -[[ -z ${LICENSE} ]] && \
35 - LICENSE="GPL-2"
36 +: ${LICENSE:="GPL-2"}
37
38 # This is the latest KV_PATCH of the deblob tool available from the
39 # libre-sources upstream. If you bump this, you MUST regenerate the Manifests
40 # for ALL kernel-2 consumer packages where deblob is available.
41 -[[ -z ${DEBLOB_MAX_VERSION} ]] && DEBLOB_MAX_VERSION=38
42 +: ${DEBLOB_MAX_VERSION:=38}
43
44 # No need to run scanelf/strip on kernel sources/headers (bug #134453).
45 RESTRICT="binchecks strip"
46
47 # set LINUX_HOSTCFLAGS if not already set
48 -[[ -z ${LINUX_HOSTCFLAGS} ]] && \
49 - LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -Os -fomit-frame-pointer -I${S}/include"
50 +: ${LINUX_HOSTCFLAGS:="-Wall -Wstrict-prototypes -Os -fomit-frame-pointer -I${S}/include"}
51
52 # debugging functions
53 #==============================================================