2014-04-10 14:43:30 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=linux-firmware
|
2016-01-10 16:35:31 +00:00
|
|
|
PKG_SOURCE_VERSION:=bbe4917c054eb0a73e250c6363341e3bf6725839
|
|
|
|
PKG_VERSION:=2015-12-07-$(PKG_SOURCE_VERSION)
|
2014-04-10 14:43:30 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2016-01-10 16:35:31 +00:00
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
|
2014-04-10 14:43:30 +00:00
|
|
|
PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
|
|
|
|
PKG_MIRROR_MD5SUM:=ca4d289ad9380471cae376fc7dd3660a
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2016-01-10 16:35:46 +00:00
|
|
|
define Package/firmware-default
|
2015-10-19 10:10:14 +00:00
|
|
|
SECTION:=firmware
|
|
|
|
CATEGORY:=Firmware
|
|
|
|
URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git
|
2016-01-10 16:35:46 +00:00
|
|
|
TITLE:=$(1)
|
2015-10-19 10:10:14 +00:00
|
|
|
endef
|
|
|
|
|
2016-01-10 16:35:46 +00:00
|
|
|
define Build/Compile
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
Package/ibt-firmware = $(call Package/firmware-default,Intel bluetooth firmware)
|
2015-10-19 10:10:14 +00:00
|
|
|
define Package/ibt-firmware/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib/firmware/intel
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_BUILD_DIR)/intel/*.bseq \
|
|
|
|
$(1)/lib/firmware/intel
|
|
|
|
endef
|
2016-01-10 16:35:46 +00:00
|
|
|
$(eval $(call BuildPackage,ibt-firmware))
|
2015-10-19 10:10:14 +00:00
|
|
|
|
2016-01-10 16:35:46 +00:00
|
|
|
Package/ar3k-firmware = $(call Package/firmware-default,ath3k firmware)
|
2015-10-19 10:10:14 +00:00
|
|
|
define Package/ar3k-firmware/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ar3k
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_BUILD_DIR)/ar3k/*.dfu \
|
|
|
|
$(1)/lib/firmware/ar3k
|
|
|
|
endef
|
2016-01-10 16:35:46 +00:00
|
|
|
$(eval $(call BuildPackage,ar3k-firmware))
|
2015-10-30 22:01:04 +00:00
|
|
|
|
2016-01-10 16:35:40 +00:00
|
|
|
include $(wildcard ./*.mk)
|
2016-01-10 16:35:53 +00:00
|
|
|
#$(eval $(call BuildPackage,linux-firmware))
|