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

(-)kernel-2.eclass (-13 lines)
Lines 65-73 Link Here
65
# 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
66
#						  in the long term directories on the upstream servers
66
#						  in the long term directories on the upstream servers
67
#						  as the location has been changed by upstream
67
#						  as the location has been changed by upstream
68
# K_KDBUS_AVAILABLE		- If set, the ebuild contains the option of installing the
69
#						  kdbus patch.  This patch is not installed without the 'kdbus'
70
#						  and 'experimental' use flags.
71
# H_SUPPORTEDARCH		- this should be a space separated list of ARCH's which
68
# H_SUPPORTEDARCH		- this should be a space separated list of ARCH's which
72
#						  can be supported by the headers ebuild
69
#						  can be supported by the headers ebuild
73
70
Lines 465-473 Link Here
465
	DESCRIPTION="Sources based on the Linux Kernel."
462
	DESCRIPTION="Sources based on the Linux Kernel."
466
	IUSE="symlink build"
463
	IUSE="symlink build"
467
464
468
	if [[ -n ${K_KDBUS_AVAILABLE} ]]; then
469
		IUSE="${IUSE} kdbus"
470
	fi
471
465
472
	# Bug #266157, deblob for libre support
466
	# Bug #266157, deblob for libre support
473
	if [[ -z ${K_PREDEBLOBBED} ]] ; then
467
	if [[ -z ${K_PREDEBLOBBED} ]] ; then
Lines 1031-1043 Link Here
1031
					UNIPATCH_DROP+=" 5000_enable-additional-cpu-optimizations-for-gcc.patch"
1025
					UNIPATCH_DROP+=" 5000_enable-additional-cpu-optimizations-for-gcc.patch"
1032
				fi
1026
				fi
1033
			fi
1027
			fi
1034
1035
			# if kdbus use flag is not set, drop the kdbus patch
1036
            if [[ $UNIPATCH_DROP != *"5015_kdbus*.patch"* ]]; then
1037
				if ! has kdbus ${IUSE} ||  ! use kdbus; then
1038
					UNIPATCH_DROP="${UNIPATCH_DROP} 5015_kdbus*.patch"
1039
				fi
1040
			fi
1041
 		fi
1028
 		fi
1042
	done
1029
	done
1043
1030

Return to bug 576614