import React, { Component, PropTypes } from 'react' import { connect } from 'react-redux' import { render } from 'react-dom'; import Button from '../common/Button'; import { setShowFullContent } from '../../ducks/ui/flow' ShowFullContentButton.propTypes = { setShowFullContent: PropTypes.func.isRequired, showFullContent: PropTypes.bool.isRequired } function ShowFullContentButton ( {setShowFullContent, showFullContent, visibleLines, contentLines} ){ return ( !showFullContent &&
) } export default connect( state => ({ showFullContent: state.ui.flow.showFullContent, visibleLines: state.ui.flow.maxContentLines, contentLines: state.ui.flow.content.length }), { setShowFullContent } )(ShowFullContentButton) aker upstream openwrtJames
aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/Makefile
blob: 7188c4900eae8619bbee37bfb571014e8423c895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
#
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=broadcom-wl
PKG_VERSION:=5.10.56.27.3
PKG_RELEASE:=10

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(ARCH).tar.bz2
PKG_SOURCE_URL:=@OPENWRT

ifeq ($(ARCH),mipsel)
PKG_HASH:=26a8c370f48fc129d0731cfd751c36cae1419b0bc8ca35781126744e60eae009
endif
ifeq ($(ARCH),mips)
PKG_HASH:=ca6a86ca3e3e9c85b6dbb665b35bcbf338c37829c1b2f1994487d55664886045
endif

PKG_EXTMOD_SUBDIRS:=driver driver-mini glue

PKG_USE_MIPS16:=0
PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

define Package/broadcom-wl/Default
  SECTION:=kernel
  CATEGORY:=Kernel modules
  DEPENDS:=@(PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mini)
  SUBMENU:=Proprietary BCM43xx WiFi driver
  SUBMENUDEP:=(TARGET_bcm47xx||TARGET_bcm63xx)
endef

define KernelPackage/brcm-wl/Default
  $(call Package/broadcom-wl/Default)
  SECTION:=kernel
  DEPENDS:=@(TARGET_bcm47xx||TARGET_bcm63xx) +wireless-tools
  TITLE:=Kernel driver for BCM43xx chipsets
  FILES:=$(PKG_BUILD_DIR)/driver$(1)/wl.ko $(PKG_BUILD_DIR)/glue/wl_glue.ko
  AUTOLOAD:=$(call AutoProbe,wl)