Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 677756
Collapse All | Expand All

(-)a/eclass/kernel-2.eclass (-4 / +5 lines)
Lines 624-631 if [[ ${ETYPE} == sources ]]; then Link Here
624
			IUSE="${IUSE} deblob"
624
			IUSE="${IUSE} deblob"
625
625
626
			# Reflect that kernels contain firmware blobs unless otherwise
626
			# Reflect that kernels contain firmware blobs unless otherwise
627
			# stripped
627
			# stripped. Starting with version 4.14, the whole firmware
628
			LICENSE="${LICENSE} !deblob? ( linux-firmware )"
628
			# tree has been dropped from the kernel.
629
			kernel_is lt 4 14 && LICENSE+=" !deblob? ( linux-firmware )"
629
630
630
			DEPEND+=" deblob? ( ${PYTHON_DEPS} )"
631
			DEPEND+=" deblob? ( ${PYTHON_DEPS} )"
631
632
Lines 654-663 if [[ ${ETYPE} == sources ]]; then Link Here
654
					${DEBLOB_URI}
655
					${DEBLOB_URI}
655
					${DEBLOB_CHECK_URI}
656
					${DEBLOB_CHECK_URI}
656
				)"
657
				)"
657
		else
658
		elif kernel_is lt 4 14; then
658
			# We have no way to deblob older kernels, so just mark them as
659
			# We have no way to deblob older kernels, so just mark them as
659
			# tainted with non-libre materials.
660
			# tainted with non-libre materials.
660
			LICENSE="${LICENSE} linux-firmware"
661
			LICENSE+=" linux-firmware"
661
		fi
662
		fi
662
	fi
663
	fi
663
664

Return to bug 677756