Bug #266157: Until such time as we have full deblob support for all sources, mark...
authorRobin H. Johnson <robbat2@gentoo.org>
Thu, 1 Apr 2010 21:12:20 +0000 (21:12 +0000)
committerRobin H. Johnson <robbat2@gentoo.org>
Thu, 1 Apr 2010 21:12:20 +0000 (21:12 +0000)
eclass/kernel-2.eclass

index 7482ce70208a6120f12772c70b37e4d6da79e271..aa03770c25b10832ffcc0f0ff6f548a2d9055c52 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.224 2009/12/13 18:56:49 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.225 2010/04/01 21:12:20 robbat2 Exp $
 
 # Description: kernel.eclass rewrite for a clean base regarding the 2.6
 #              series of kernel with back-compatibility for 2.4
@@ -74,7 +74,9 @@ if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then
 fi
 
 HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ ${HOMEPAGE}"
-LICENSE="GPL-2"
+# Reflect that kernels contain firmware blobs unless otherwise stripped
+[[ -z ${LICENSE} ]] && \
+       LICENSE="GPL-2 freedist"
 
 # No need to run scanelf/strip on kernel sources/headers (bug #134453).
 RESTRICT="binchecks strip"