aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke.mehrtens@intel.com>2016-06-22 17:46:21 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2016-06-30 19:21:02 +0200
commit37fa64a6c54634df8d81066277e614d68efeaca7 (patch)
tree19cb3bf1e106329b9e7f813bb4d0772bd9045d9c /package/firmware
parent0a0caa2656c8db73518a1783743ede772e3ac40f (diff)
downloadupstream-37fa64a6c54634df8d81066277e614d68efeaca7.tar.gz
upstream-37fa64a6c54634df8d81066277e614d68efeaca7.tar.bz2
upstream-37fa64a6c54634df8d81066277e614d68efeaca7.zip
firmware: extract prism54-firmware into own package
Instead of downloading the firmware for prism54 devices in the wireless.mk do it in an extra package Makefile. To ship the complete source code Intel ships our modified OpenWrt/LEDE + the content of the dl directory. We do not want to have any files in the dl/ directory which are not needed to build our images. The prism54 gets downloaded every time independently of building kmod-net-prism54 or not. When it is in a own package it only gets downloaded when the firmware package is selected. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
Diffstat (limited to 'package/firmware')
-rw-r--r--package/firmware/prism54-firmware/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/firmware/prism54-firmware/Makefile b/package/firmware/prism54-firmware/Makefile
new file mode 100644
index 0000000000..759e6b0abe
--- /dev/null
+++ b/package/firmware/prism54-firmware/Makefile
@@ -0,0 +1,39 @@
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=prism54-firmware
+PKG_VERSION:=1.0.4.3
+PKG_RELEASE:=1
+
+# Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
+PKG_SOURCE:=$(PKG_VERSION).arm
+PKG_SOURCE_URL:=https://daemonizer.de/prism54/prism54-fw/fw-fullmac/
+PKG_MD5SUM:=8bd4310971772a486b9784c77f8a6df9
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/prism54-firmware
+ SECTION:=firmware
+ CATEGORY:=Firmware
+ URL:=https://daemonizer.de/prism54/prism54-fw
+ TITLE:=prism54 firmware
+endef
+
+define Build/Prepare
+ mkdir -p $(PKG_BUILD_DIR)
+endef
+
+define Build/Compile
+
+endef
+
+define Package/prism54-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware
+ $(INSTALL_DATA) $(DL_DIR)/$(PKG_SOURCE) $(1)/lib/firmware/isl3890
+endef
+
+$(eval $(call BuildPackage,prism54-firmware))
d='n214' href='#n214'>214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340