diff options
author | StefanCristian <steven.darklight@gmail.com> | 2016-10-24 02:25:55 +0000 |
---|---|---|
committer | StefanCristian <steven.darklight@gmail.com> | 2016-10-24 02:25:55 +0000 |
commit | efcb4bc9de37fff57d4bd0060958d0c22be37180 (patch) | |
tree | ad95b7fa381b1c98899db1c496185cfb22e92377 /sys-kernel/broadcom-sta-dkms | |
parent | e97477359bf749b03a6548c6a9236c029770eea8 (diff) |
Fixed ebuild unneded stuff.
Diffstat (limited to 'sys-kernel/broadcom-sta-dkms')
-rw-r--r-- | sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r3.ebuild | 41 |
1 files changed, 5 insertions, 36 deletions
diff --git a/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r3.ebuild b/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r3.ebuild index 59a0e2a5..ecaa0152 100644 --- a/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r3.ebuild +++ b/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r3.ebuild @@ -3,9 +3,9 @@ # $Id$ EAPI=5 -inherit eutils linux-info linux-mod +inherit eutils -DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" +DESCRIPTION="Linux device driver source" HOMEPAGE="http://www.broadcom.com/support/802.11/" SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-v35" SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz ) @@ -14,7 +14,7 @@ SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz ) LICENSE="Broadcom" KEYWORDS="-* ~amd64 ~x86" - +SLOT="0" RESTRICT="mirror" DEPEND="sys-kernel/dkms" @@ -22,36 +22,6 @@ RDEPEND="" S="${WORKDIR}" -MODULE_NAMES="wl(net/wireless)" -MODULESD_WL_ALIASES=("wlan0 wl") - -pkg_setup() { - # bug #300570 - # NOTE<lxnay>: module builds correctly anyway with b43 and SSB enabled - # make checks non-fatal. The correct fix is blackisting ssb and, perhaps - # b43 via udev rules. Moreover, previous fix broke binpkgs support. - CONFIG_CHECK="~!B43 ~!BCMA ~!SSB" - CONFIG_CHECK2="LIB80211 ~!MAC80211 ~LIB80211_CRYPT_TKIP" - ERROR_B43="B43: If you insist on building this, you must blacklist it!" - ERROR_BCMA="BCMA: If you insist on building this, you must blacklist it!" - ERROR_SSB="SSB: If you insist on building this, you must blacklist it!" - ERROR_LIB80211="LIB80211: Please enable it. If you can't find it: enabling the driver for \"Intel PRO/Wireless 2100\" or \"Intel PRO/Wireless 2200BG\" (IPW2100 or IPW2200) should suffice." - ERROR_MAC80211="MAC80211: If you insist on building this, you must blacklist it!" - ERROR_PREEMPT_RCU="PREEMPT_RCU: Please do not set the Preemption Model to \"Preemptible Kernel\"; choose something else." - ERROR_LIB80211_CRYPT_TKIP="LIB80211_CRYPT_TKIP: You will need this for WPA." - if kernel_is ge 3 8 8; then - CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211 ~!PREEMPT_RCU ~!PREEMPT" - elif kernel_is ge 2 6 32; then - CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211" - elif kernel_is ge 2 6 31; then - CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT ~!MAC80211" - elif kernel_is ge 2 6 29; then - CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT COMPAT_NET_DEV_OPS" - else - CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP" - fi -} - src_prepare() { epatch \ "${FILESDIR}/broadcom-sta-6.30.223.141-makefile.patch" \ @@ -63,14 +33,13 @@ src_prepare() { "${FILESDIR}/broadcom-sta-6.30.223.271-r3-linux-4.7.patch" epatch_user + cd "${S}" || die - mkdir kernel || die cp "${FILESDIR}"/dkms.conf "${S}" || die - cp "${FILESDIR}"/dkms.conf kernel || die } src_compile(){ - ewarn 'There is no need for compilation here' + einfo 'There is no need for compilation here' } src_install() { |