blob: 8d6f2f2dbdedf284603464e812a7c5f364f6343e [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Firmware files for use with Linux kernel"
2SECTION = "kernel"
3
4LICENSE = "\
5 Firmware-Abilis \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006 & Firmware-adsp_sst \
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007 & Firmware-agere \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008 & Firmware-amdgpu \
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009 & Firmware-amd-ucode \
10 & Firmware-atheros_firmware \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050011 & Firmware-atmel \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012 & Firmware-broadcom_bcm43xx \
13 & Firmware-ca0132 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050014 & Firmware-cavium \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015 & Firmware-chelsio_firmware \
16 & Firmware-cw1200 \
17 & Firmware-dib0700 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018 & Firmware-e100 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019 & Firmware-ene_firmware \
20 & Firmware-fw_sst_0f28 \
21 & Firmware-go7007 \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050022 & Firmware-GPLv2 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050023 & Firmware-hfi1_firmware \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024 & Firmware-i2400m \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025 & Firmware-i915 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026 & Firmware-ibt_firmware \
27 & Firmware-it913x \
28 & Firmware-iwlwifi_firmware \
29 & Firmware-IntcSST2 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050030 & Firmware-kaweth \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031 & Firmware-Marvell \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050032 & Firmware-moxa \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050033 & Firmware-myri10ge_firmware \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050034 & Firmware-netronome \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050035 & Firmware-nvidia \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036 & Firmware-OLPC \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050037 & Firmware-ath9k-htc \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050038 & Firmware-phanfw \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050039 & Firmware-qat \
Brad Bishop316dfdd2018-06-25 12:45:53 -040040 & Firmware-qcom \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050041 & Firmware-qla1280 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050042 & Firmware-qla2xxx \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050043 & Firmware-qualcommAthos_ar3k \
44 & Firmware-qualcommAthos_ath10k \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050045 & Firmware-r8a779x_usb3 \
46 & Firmware-radeon \
47 & Firmware-ralink_a_mediatek_company_firmware \
48 & Firmware-ralink-firmware \
49 & Firmware-rtlwifi_firmware \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050050 & Firmware-imx-sdma_firmware \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050051 & Firmware-siano \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050052 & Firmware-tda7706-firmware \
53 & Firmware-ti-connectivity \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050054 & Firmware-ti-keystone \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050055 & Firmware-ueagle-atm4-firmware \
56 & Firmware-via_vt6656 \
57 & Firmware-wl1251 \
58 & Firmware-xc4000 \
59 & Firmware-xc5000 \
60 & Firmware-xc5000c \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060061 & WHENCE \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050062"
63
64LIC_FILES_CHKSUM = "\
65 file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050066 file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050067 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050068 file://LICENSE.amdgpu;md5=0aa3c2f3e736af320a08a3aeeccecf29 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050069 file://LICENSE.amd-ucode;md5=3a0de451253cc1edbf30a3c621effee3 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050070 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050071 file://LICENSE.atmel;md5=aa74ac0c60595dee4d4e239107ea77a3 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050072 file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \
73 file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050074 file://LICENCE.cavium;md5=c37aaffb1ebe5939b2580d073a95daea \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050075 file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \
76 file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050077 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
78 file://LICENCE.e100;md5=ec0f84136766df159a3ae6d02acdf5a8 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050079 file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \
80 file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \
81 file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050082 file://GPL-2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050083 file://LICENSE.hfi1_firmware;md5=5e7b6e586ce7339d12689e49931ad444 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050084 file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050085 file://LICENSE.i915;md5=2b0b2e0d20984affd4490ba2cba02570 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050086 file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050087 file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050088 file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
89 file://LICENCE.iwlwifi_firmware;md5=3fd842911ea93c29cd32679aa23e1c88 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050090 file://LICENCE.kaweth;md5=b1d876e562f4b3b8d391ad8395dfe03f \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050091 file://LICENCE.Marvell;md5=9ddea1734a4baf3c78d845151f42a37a \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050092 file://LICENCE.moxa;md5=1086614767d8ccf744a923289d3d4261 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050093 file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \
Brad Bishop316dfdd2018-06-25 12:45:53 -040094 file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050095 file://LICENCE.nvidia;md5=4428a922ed3ba2ceec95f076a488ce07 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050096 file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050097 file://LICENCE.open-ath9k-htc-firmware;md5=1b33c9f4d17bc4d457bdb23727046837 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050098 file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050099 file://LICENCE.qat_firmware;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400100 file://LICENSE.qcom;md5=164e3362a538eb11d3ac51e8e134294b \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500101 file://LICENCE.qla1280;md5=d6895732e622d950609093223a2c4f5d \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500102 file://LICENCE.qla2xxx;md5=505855e921b75f1be4a437ad9b79dff0 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500103 file://LICENSE.QualcommAtheros_ar3k;md5=b5fe244fb2b532311de1472a3bc06da5 \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500104 file://LICENSE.QualcommAtheros_ath10k;md5=cb42b686ee5f5cb890275e4321db60a8 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500105 file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500106 file://LICENSE.radeon;md5=68ec28bacb3613200bca44f404c69b16 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500107 file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \
108 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \
109 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500110 file://LICENSE.sdma_firmware;md5=51e8c19ecc2270f4b8ea30341ad63ce9 \
111 file://LICENCE.siano;md5=4556c1bf830067f12ca151ad953ec2a5 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500112 file://LICENCE.tda7706-firmware.txt;md5=835997cf5e3c131d0dddd695c7d9103e \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500113 file://LICENCE.ti-connectivity;md5=c5e02be633f1499c109d1652514d85ec \
114 file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500115 file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \
116 file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
117 file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \
118 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
119 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
120 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400121 file://WHENCE;md5=6f46986f4e913ef16b765c2319cc5141 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500122"
123
124# These are not common licenses, set NO_GENERIC_LICENSE for them
125# so that the license files will be copied from fetched source
126NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500127NO_GENERIC_LICENSE[Firmware-adsp_sst] = "LICENCE.adsp_sst"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500128NO_GENERIC_LICENSE[Firmware-agere] = "LICENCE.agere"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500129NO_GENERIC_LICENSE[Firmware-amdgpu] = "LICENSE.amdgpu"
130NO_GENERIC_LICENSE[Firmware-amd-ucode] = "LICENSE.amd-ucode"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500131NO_GENERIC_LICENSE[Firmware-atheros_firmware] = "LICENCE.atheros_firmware"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500132NO_GENERIC_LICENSE[Firmware-atmel] = "LICENSE.atmel"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500133NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx"
134NO_GENERIC_LICENSE[Firmware-ca0132] = "LICENCE.ca0132"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500135NO_GENERIC_LICENSE[Firmware-cavium] = "LICENCE.cavium"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500136NO_GENERIC_LICENSE[Firmware-chelsio_firmware] = "LICENCE.chelsio_firmware"
137NO_GENERIC_LICENSE[Firmware-cw1200] = "LICENCE.cw1200"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500138NO_GENERIC_LICENSE[Firmware-dib0700] = "LICENSE.dib0700"
139NO_GENERIC_LICENSE[Firmware-e100] = "LICENCE.e100"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500140NO_GENERIC_LICENSE[Firmware-ene_firmware] = "LICENCE.ene_firmware"
141NO_GENERIC_LICENSE[Firmware-fw_sst_0f28] = "LICENCE.fw_sst_0f28"
142NO_GENERIC_LICENSE[Firmware-go7007] = "LICENCE.go7007"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500143NO_GENERIC_LICENSE[Firmware-GPLv2] = "GPL-2"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500144NO_GENERIC_LICENSE[Firmware-hfi1_firmware] = "LICENSE.hfi1_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500145NO_GENERIC_LICENSE[Firmware-i2400m] = "LICENCE.i2400m"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500146NO_GENERIC_LICENSE[Firmware-i915] = "LICENSE.i915"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500147NO_GENERIC_LICENSE[Firmware-ibt_firmware] = "LICENCE.ibt_firmware"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500148NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500149NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x"
150NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500151NO_GENERIC_LICENSE[Firmware-kaweth] = "LICENCE.kaweth"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500152NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500153NO_GENERIC_LICENSE[Firmware-moxa] = "LICENCE.moxa"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500154NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500155NO_GENERIC_LICENSE[Firmware-netronome] = "LICENCE.Netronome"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500156NO_GENERIC_LICENSE[Firmware-nvidia] = "LICENCE.nvidia"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500157NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500158NO_GENERIC_LICENSE[Firmware-ath9k-htc] = "LICENCE.open-ath9k-htc-firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500159NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500160NO_GENERIC_LICENSE[Firmware-qat] = "LICENCE.qat_firmware"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400161NO_GENERIC_LICENSE[Firmware-qcom] = "LICENSE.qcom"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500162NO_GENERIC_LICENSE[Firmware-qla1280] = "LICENCE.qla1280"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500163NO_GENERIC_LICENSE[Firmware-qla2xxx] = "LICENCE.qla2xxx"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500164NO_GENERIC_LICENSE[Firmware-qualcommAthos_ar3k] = "LICENSE.QualcommAtheros_ar3k"
165NO_GENERIC_LICENSE[Firmware-qualcommAthos_ath10k] = "LICENSE.QualcommAtheros_ath10k"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500166NO_GENERIC_LICENSE[Firmware-r8a779x_usb3] = "LICENCE.r8a779x_usb3"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500167NO_GENERIC_LICENSE[Firmware-radeon] = "LICENSE.radeon"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500168NO_GENERIC_LICENSE[Firmware-ralink_a_mediatek_company_firmware] = "LICENCE.ralink_a_mediatek_company_firmware"
169NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt"
170NO_GENERIC_LICENSE[Firmware-rtlwifi_firmware] = "LICENCE.rtlwifi_firmware.txt"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500171NO_GENERIC_LICENSE[Firmware-siano] = "LICENCE.siano"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500172NO_GENERIC_LICENSE[Firmware-imx-sdma_firmware] = "LICENSE.sdma_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500173NO_GENERIC_LICENSE[Firmware-tda7706-firmware] = "LICENCE.tda7706-firmware.txt"
174NO_GENERIC_LICENSE[Firmware-ti-connectivity] = "LICENCE.ti-connectivity"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500175NO_GENERIC_LICENSE[Firmware-ti-keystone] = "LICENCE.ti-keystone"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500176NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware"
177NO_GENERIC_LICENSE[Firmware-via_vt6656] = "LICENCE.via_vt6656"
178NO_GENERIC_LICENSE[Firmware-wl1251] = "LICENCE.wl1251"
179NO_GENERIC_LICENSE[Firmware-xc4000] = "LICENCE.xc4000"
180NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000"
181NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600182NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500183
Brad Bishop316dfdd2018-06-25 12:45:53 -0400184SRCREV = "8fc2d4e55685bf73b6f7752383da9067404a74bb"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500185PE = "1"
186PV = "0.0+git${SRCPV}"
187
188SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
189
Brad Bishop316dfdd2018-06-25 12:45:53 -0400190UPSTREAM_CHECK_COMMITS = "1"
Brad Bishopd7bf8c12018-02-25 22:55:05 -0500191
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500192S = "${WORKDIR}/git"
193
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500194inherit allarch
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500195
196CLEANBROKEN = "1"
197
198do_compile() {
199 :
200}
201
202do_install() {
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500203 install -d ${D}${nonarch_base_libdir}/firmware/
204 cp -r * ${D}${nonarch_base_libdir}/firmware/
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500205
206 # Avoid Makefile to be deployed
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500207 rm ${D}${nonarch_base_libdir}/firmware/Makefile
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500208
209 # Remove unbuild firmware which needs cmake and bash
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500210 rm ${D}${nonarch_base_libdir}/firmware/carl9170fw -rf
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500211
212 # Remove pointless bash script
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500213 rm ${D}${nonarch_base_libdir}/firmware/configure
214
215 # Remove python script used to check the WHENCE file
216 rm ${D}${nonarch_base_libdir}/firmware/check_whence.py
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500217
218 # Libertas sd8686
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500219 ln -sf libertas/sd8686_v9.bin ${D}${nonarch_base_libdir}/firmware/sd8686.bin
220 ln -sf libertas/sd8686_v9_helper.bin ${D}${nonarch_base_libdir}/firmware/sd8686_helper.bin
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500221
222 # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500223 ( cd ${D}${nonarch_base_libdir}/firmware ; ln -sf ti-connectivity/* . )
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500224}
225
226
227PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500228 ${PN}-mt7601u-license ${PN}-mt7601u \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500229 ${PN}-radeon-license ${PN}-radeon \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500230 ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \
231 ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 ${PN}-sd8887 ${PN}-sd8897 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500232 ${PN}-ti-connectivity-license ${PN}-wl12xx ${PN}-wl18xx \
233 ${PN}-vt6656-license ${PN}-vt6656 \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500234 ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
235 ${PN}-broadcom-license \
236 ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 ${PN}-bcm43340 \
237 ${PN}-bcm43362 ${PN}-bcm4339 ${PN}-bcm43430 ${PN}-bcm4354 \
238 ${PN}-atheros-license ${PN}-ar9170 ${PN}-ath6k ${PN}-ath9k \
239 ${PN}-gplv2-license ${PN}-carl9170 \
240 ${PN}-ar3k-license ${PN}-ar3k ${PN}-ath10k-license ${PN}-ath10k ${PN}-qca \
241 \
242 ${PN}-imx-sdma-license ${PN}-imx-sdma-imx6q ${PN}-imx-sdma-imx7d \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500243 \
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600244 ${PN}-iwlwifi-license ${PN}-iwlwifi \
245 ${PN}-iwlwifi-135-6 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500246 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500247 ${PN}-iwlwifi-3160-10 ${PN}-iwlwifi-3160-12 ${PN}-iwlwifi-3160-13 \
248 ${PN}-iwlwifi-3160-16 ${PN}-iwlwifi-3160-17 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500249 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \
250 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \
251 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500252 ${PN}-iwlwifi-7260 \
253 ${PN}-iwlwifi-7265 \
Brad Bishopd7bf8c12018-02-25 22:55:05 -0500254 ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400255 ${PN}-iwlwifi-9000 \
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600256 ${PN}-iwlwifi-misc \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500257 ${PN}-ibt-license ${PN}-ibt ${PN}-ibt-misc \
258 ${PN}-ibt-11-5 ${PN}-ibt-12-16 ${PN}-ibt-hw-37-7 ${PN}-ibt-hw-37-8 \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400259 ${PN}-ibt-17 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500260 ${PN}-i915-license ${PN}-i915 \
261 ${PN}-adsp-sst-license ${PN}-adsp-sst \
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600262 ${PN}-bnx2-mips \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500263 ${PN}-netronome-license ${PN}-netronome \
264 ${PN}-qat ${PN}-qat-license \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400265 ${PN}-qcom-license \
266 ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 \
267 ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 \
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600268 ${PN}-whence-license \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500269 ${PN}-license \
270 "
271
272# For atheros
273LICENSE_${PN}-ar9170 = "Firmware-atheros_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500274LICENSE_${PN}-ath6k = "Firmware-atheros_firmware"
275LICENSE_${PN}-ath9k = "Firmware-atheros_firmware"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600276LICENSE_${PN}-atheros-license = "Firmware-atheros_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500277
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500278FILES_${PN}-atheros-license = "${nonarch_base_libdir}/firmware/LICENCE.atheros_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500279FILES_${PN}-ar9170 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500280 ${nonarch_base_libdir}/firmware/ar9170*.fw \
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600281"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500282FILES_${PN}-ath6k = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500283 ${nonarch_base_libdir}/firmware/ath6k \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500284"
285FILES_${PN}-ath9k = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500286 ${nonarch_base_libdir}/firmware/ar9271.fw \
287 ${nonarch_base_libdir}/firmware/ar7010*.fw \
288 ${nonarch_base_libdir}/firmware/htc_9271.fw \
289 ${nonarch_base_libdir}/firmware/htc_7010.fw \
290 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_7010-1.4.0.fw \
291 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_9271-1.4.0.fw \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500292"
293
294RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500295RDEPENDS_${PN}-ath6k += "${PN}-atheros-license"
296RDEPENDS_${PN}-ath9k += "${PN}-atheros-license"
297
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500298# For carl9170
299LICENSE_${PN}-carl9170 = "Firmware-GPLv2"
300LICENSE_${PN}-gplv2-license = "Firmware-GPLv2"
301
302FILES_${PN}-gplv2-license = "${nonarch_base_libdir}/firmware/GPL-2"
303FILES_${PN}-carl9170 = " \
304 ${nonarch_base_libdir}/firmware/carl9170*.fw \
305"
306
307RDEPENDS_${PN}-carl9170 += "${PN}-gplv2-license"
308
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500309# For QualCommAthos
310LICENSE_${PN}-ar3k = "Firmware-qualcommAthos_ar3k"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600311LICENSE_${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500312LICENSE_${PN}-ath10k = "Firmware-qualcommAthos_ath10k"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600313LICENSE_${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500314LICENSE_${PN}-qca = "Firmware-qualcommAthos_ath10k"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500315
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500316FILES_${PN}-ar3k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500317FILES_${PN}-ar3k = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500318 ${nonarch_base_libdir}/firmware/ar3k \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500319"
320
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500321FILES_${PN}-ath10k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500322FILES_${PN}-ath10k = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500323 ${nonarch_base_libdir}/firmware/ath10k \
324"
325
326FILES_${PN}-qca = " \
327 ${nonarch_base_libdir}/firmware/qca \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500328"
329
330RDEPENDS_${PN}-ar3k += "${PN}-ar3k-license"
331RDEPENDS_${PN}-ath10k += "${PN}-ath10k-license"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500332RDEPENDS_${PN}-qca += "${PN}-ath10k-license"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500333
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500334# For ralink
335LICENSE_${PN}-ralink = "Firmware-ralink-firmware"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600336LICENSE_${PN}-ralink-license = "Firmware-ralink-firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500337
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500338FILES_${PN}-ralink-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink-firmware.txt"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500339FILES_${PN}-ralink = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500340 ${nonarch_base_libdir}/firmware/rt*.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500341"
342
343RDEPENDS_${PN}-ralink += "${PN}-ralink-license"
344
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500345# For mediatek MT7601U
346LICENSE_${PN}-mt7601u = "Firmware-ralink_a_mediatek_company_firmware"
347LICENSE_${PN}-mt7601u-license = "Firmware-ralink_a_mediatek_company_firmware"
348
349FILES_${PN}-mt7601u-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware"
350FILES_${PN}-mt7601u = " \
351 ${nonarch_base_libdir}/firmware/mt7601u.bin \
352"
353
354RDEPENDS_${PN}-mt7601u += "${PN}-mt7601u-license"
355
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500356# For radeon
357LICENSE_${PN}-radeon = "Firmware-radeon"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600358LICENSE_${PN}-radeon-license = "Firmware-radeon"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500359
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500360FILES_${PN}-radeon-license = "${nonarch_base_libdir}/firmware/LICENSE.radeon"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500361FILES_${PN}-radeon = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500362 ${nonarch_base_libdir}/firmware/radeon \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500363"
364
365RDEPENDS_${PN}-radeon += "${PN}-radeon-license"
366
367# For marvell
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500368LICENSE_${PN}-pcie8897 = "Firmware-Marvell"
369LICENSE_${PN}-pcie8997 = "Firmware-Marvell"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500370LICENSE_${PN}-sd8686 = "Firmware-Marvell"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500371LICENSE_${PN}-sd8688 = "Firmware-Marvell"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500372LICENSE_${PN}-sd8787 = "Firmware-Marvell"
373LICENSE_${PN}-sd8797 = "Firmware-Marvell"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500374LICENSE_${PN}-sd8801 = "Firmware-Marvell"
375LICENSE_${PN}-sd8887 = "Firmware-Marvell"
376LICENSE_${PN}-sd8897 = "Firmware-Marvell"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600377LICENSE_${PN}-marvell-license = "Firmware-Marvell"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500378
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500379FILES_${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell"
380FILES_${PN}-pcie8897 = " \
381 ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \
382"
383FILES_${PN}-pcie8997 = " \
384 ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \
385 ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \
386 ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \
387"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500388FILES_${PN}-sd8686 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500389 ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \
390 ${nonarch_base_libdir}/firmware/sd8686* \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500391"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500392FILES_${PN}-sd8688 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500393 ${nonarch_base_libdir}/firmware/libertas/sd8688* \
394 ${nonarch_base_libdir}/firmware/mrvl/sd8688* \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500395"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500396FILES_${PN}-sd8787 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500397 ${nonarch_base_libdir}/firmware/mrvl/sd8787_uapsta.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500398"
399FILES_${PN}-sd8797 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500400 ${nonarch_base_libdir}/firmware/mrvl/sd8797_uapsta.bin \
401"
402FILES_${PN}-sd8801 = " \
403 ${nonarch_base_libdir}/firmware/mrvl/sd8801_uapsta.bin \
404"
405FILES_${PN}-sd8887 = " \
406 ${nonarch_base_libdir}/firmware/mrvl/sd8887_uapsta.bin \
407"
408FILES_${PN}-sd8897 = " \
409 ${nonarch_base_libdir}/firmware/mrvl/sd8897_uapsta.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500410"
411
412RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500413RDEPENDS_${PN}-sd8688 += "${PN}-marvell-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500414RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license"
415RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500416RDEPENDS_${PN}-sd8801 += "${PN}-marvell-license"
417RDEPENDS_${PN}-sd8887 += "${PN}-marvell-license"
418RDEPENDS_${PN}-sd8897 += "${PN}-marvell-license"
419
420# For netronome
421LICENSE_${PN}-netronome = "Firmware-netronome"
422
423FILES_${PN}-netronome-license = " \
424 ${nonarch_base_libdir}/firmware/LICENCE.Netronome \
425"
426FILES_${PN}-netronome = " \
427 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0081*.nffw \
428 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0096*.nffw \
429 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0097*.nffw \
430 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0099*.nffw \
431"
432
433RDEPENDS_${PN}-netronome += "${PN}-netronome-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500434
435# For rtl
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500436LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500437LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
438LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
439LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500440LICENSE_${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
441LICENSE_${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600442LICENSE_${PN}-rtl-license = "Firmware-rtlwifi_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500443
444FILES_${PN}-rtl-license = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500445 ${nonarch_base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \
446"
447FILES_${PN}-rtl8188 = " \
448 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8188*.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500449"
450FILES_${PN}-rtl8192cu = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500451 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500452"
453FILES_${PN}-rtl8192ce = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500454 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500455"
456FILES_${PN}-rtl8192su = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500457 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8712u.bin \
458"
459FILES_${PN}-rtl8723 = " \
460 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8723*.bin \
461"
462FILES_${PN}-rtl8821 = " \
463 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500464"
465
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500466RDEPENDS_${PN}-rtl8188 += "${PN}-rtl-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500467RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license"
468RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license"
469RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500470RDEPENDS_${PN}-rtl8723 += "${PN}-rtl-license"
471RDEPENDS_${PN}-rtl8821 += "${PN}-rtl-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500472
473# For ti-connectivity
474LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity"
475LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600476LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500477
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500478FILES_${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500479FILES_${PN}-wl12xx = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500480 ${nonarch_base_libdir}/firmware/wl12* \
481 ${nonarch_base_libdir}/firmware/TI* \
482 ${nonarch_base_libdir}/firmware/ti-connectivity \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500483"
484FILES_${PN}-wl18xx = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500485 ${nonarch_base_libdir}/firmware/wl18* \
486 ${nonarch_base_libdir}/firmware/TI* \
487 ${nonarch_base_libdir}/firmware/ti-connectivity \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500488"
489
490RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license"
491RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license"
492
493# For vt6656
494LICENSE_${PN}-vt6656 = "Firmware-via_vt6656"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600495LICENSE_${PN}-vt6656-license = "Firmware-via_vt6656"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500496
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500497FILES_${PN}-vt6656-license = "${nonarch_base_libdir}/firmware/LICENCE.via_vt6656"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500498FILES_${PN}-vt6656 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500499 ${nonarch_base_libdir}/firmware/vntwusb.fw \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500500"
501
502RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license"
503
504# For broadcom
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500505
506LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
507LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
508LICENSE_${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500509LICENSE_${PN}-bcm43340 = "Firmware-broadcom_bcm43xx"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500510LICENSE_${PN}-bcm43362 = "Firmware-broadcom_bcm43xx"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500511LICENSE_${PN}-bcm4339 = "Firmware-broadcom_bcm43xx"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600512LICENSE_${PN}-bcm43430 = "Firmware-broadcom_bcm43xx"
Patrick Williamsd7e96312015-09-22 08:09:05 -0500513LICENSE_${PN}-bcm4354 = "Firmware-broadcom_bcm43xx"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600514LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500515
516FILES_${PN}-broadcom-license = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500517 ${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500518"
519FILES_${PN}-bcm4329 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500520 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500521"
522FILES_${PN}-bcm4330 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500523 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4330-sdio.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500524"
525FILES_${PN}-bcm4334 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500526 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500527"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500528FILES_${PN}-bcm43340 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500529 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43340-sdio.bin \
530"
531FILES_${PN}-bcm43362 = " \
532 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43362-sdio.bin \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500533"
534FILES_${PN}-bcm4339 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500535 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500536"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600537FILES_${PN}-bcm43430 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500538 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.bin \
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600539"
Patrick Williamsd7e96312015-09-22 08:09:05 -0500540FILES_${PN}-bcm4354 = " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500541 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin \
Patrick Williamsd7e96312015-09-22 08:09:05 -0500542"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500543
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500544RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license"
545RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license"
546RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500547RDEPENDS_${PN}-bcm43340 += "${PN}-broadcom-license"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500548RDEPENDS_${PN}-bcm43362 += "${PN}-broadcom-license"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500549RDEPENDS_${PN}-bcm4339 += "${PN}-broadcom-license"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600550RDEPENDS_${PN}-bcm43430 += "${PN}-broadcom-license"
Patrick Williamsd7e96312015-09-22 08:09:05 -0500551RDEPENDS_${PN}-bcm4354 += "${PN}-broadcom-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500552
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600553# For Broadcom bnx2-mips
554#
555# which is a separate case to the other Broadcom firmwares since its
556# license is contained in the shared WHENCE file.
557
558LICENSE_${PN}-bnx2-mips = "WHENCE"
559LICENSE_${PN}-whence-license = "WHENCE"
560
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500561FILES_${PN}-bnx2-mips = "${nonarch_base_libdir}/firmware/bnx2/bnx2-mips-09-6.2.1b.fw"
562FILES_${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600563
564RDEPENDS_${PN}-bnx2-mips += "${PN}-whence-license"
565
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500566# For imx-sdma
567LICENSE_${PN}-imx-sdma-imx6q = "Firmware-imx-sdma_firmware"
568LICENSE_${PN}-imx-sdma-imx7d = "Firmware-imx-sdma_firmware"
569LICENSE_${PN}-imx-sdma-license = "Firmware-imx-sdma_firmware"
570
571FILES_${PN}-imx-sdma-imx6q = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin"
572
573RPROVIDES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
574RREPLACES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
575RCONFLICTS_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
576
577FILES_${PN}-imx-sdma-imx7d = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin"
578
579FILES_${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware"
580
581RDEPENDS_${PN}-imx-sdma-imx6q += "${PN}-imx-sdma-license"
582RDEPENDS_${PN}-imx-sdma-imx7d += "${PN}-imx-sdma-license"
583
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500584# For iwlwifi
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600585LICENSE_${PN}-iwlwifi = "Firmware-iwlwifi_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500586LICENSE_${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
587LICENSE_${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
588LICENSE_${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
589LICENSE_${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500590LICENSE_${PN}-iwlwifi-3160-10 = "Firmware-iwlwifi_firmware"
591LICENSE_${PN}-iwlwifi-3160-12 = "Firmware-iwlwifi_firmware"
592LICENSE_${PN}-iwlwifi-3160-13 = "Firmware-iwlwifi_firmware"
593LICENSE_${PN}-iwlwifi-3160-16 = "Firmware-iwlwifi_firmware"
594LICENSE_${PN}-iwlwifi-3160-17 = "Firmware-iwlwifi_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500595LICENSE_${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
596LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
597LICENSE_${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600598LICENSE_${PN}-iwlwifi-6000g2b-5 = "Firmware-iwlwifi_firmware"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500599LICENSE_${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
600LICENSE_${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
601LICENSE_${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500602LICENSE_${PN}-iwlwifi-7260 = "Firmware-iwlwifi_firmware"
603LICENSE_${PN}-iwlwifi-7265 = "Firmware-iwlwifi_firmware"
604LICENSE_${PN}-iwlwifi-7265d = "Firmware-iwlwifi_firmware"
605LICENSE_${PN}-iwlwifi-8000c = "Firmware-iwlwifi_firmware"
606LICENSE_${PN}-iwlwifi-8265 = "Firmware-iwlwifi_firmware"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400607LICENSE_${PN}-iwlwifi-9000 = "Firmware-iwlwifi_firmware"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600608LICENSE_${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware"
609LICENSE_${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500610
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500611
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500612FILES_${PN}-iwlwifi-license = "${nonarch_base_libdir}/firmware/LICENCE.iwlwifi_firmware"
613FILES_${PN}-iwlwifi-135-6 = "${nonarch_base_libdir}/firmware/iwlwifi-135-6.ucode"
614FILES_${PN}-iwlwifi-3160-7 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-7.ucode"
615FILES_${PN}-iwlwifi-3160-8 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-8.ucode"
616FILES_${PN}-iwlwifi-3160-9 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-9.ucode"
617FILES_${PN}-iwlwifi-3160-10 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-10.ucode"
618FILES_${PN}-iwlwifi-3160-12 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-12.ucode"
619FILES_${PN}-iwlwifi-3160-13 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-13.ucode"
620FILES_${PN}-iwlwifi-3160-16 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-16.ucode"
621FILES_${PN}-iwlwifi-3160-17 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-17.ucode"
622FILES_${PN}-iwlwifi-6000-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6000-4.ucode"
623FILES_${PN}-iwlwifi-6000g2a-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-5.ucode"
624FILES_${PN}-iwlwifi-6000g2a-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-6.ucode"
625FILES_${PN}-iwlwifi-6000g2b-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-5.ucode"
626FILES_${PN}-iwlwifi-6000g2b-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-6.ucode"
627FILES_${PN}-iwlwifi-6050-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-4.ucode"
628FILES_${PN}-iwlwifi-6050-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-5.ucode"
629FILES_${PN}-iwlwifi-7260 = "${nonarch_base_libdir}/firmware/iwlwifi-7260-*.ucode"
630FILES_${PN}-iwlwifi-7265 = "${nonarch_base_libdir}/firmware/iwlwifi-7265-*.ucode"
631FILES_${PN}-iwlwifi-7265d = "${nonarch_base_libdir}/firmware/iwlwifi-7265D-*.ucode"
Brad Bishopd7bf8c12018-02-25 22:55:05 -0500632FILES_${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500633FILES_${PN}-iwlwifi-8265 = "${nonarch_base_libdir}/firmware/iwlwifi-8265-*.ucode"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400634FILES_${PN}-iwlwifi-9000 = "${nonarch_base_libdir}/firmware/iwlwifi-9000-*.ucode"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500635FILES_${PN}-iwlwifi-misc = "${nonarch_base_libdir}/firmware/iwlwifi-*.ucode"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500636
637RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
638RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
639RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
640RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500641RDEPENDS_${PN}-iwlwifi-3160-10 = "${PN}-iwlwifi-license"
642RDEPENDS_${PN}-iwlwifi-3160-12 = "${PN}-iwlwifi-license"
643RDEPENDS_${PN}-iwlwifi-3160-13 = "${PN}-iwlwifi-license"
644RDEPENDS_${PN}-iwlwifi-3160-16 = "${PN}-iwlwifi-license"
645RDEPENDS_${PN}-iwlwifi-3160-17 = "${PN}-iwlwifi-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500646RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
647RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
648RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600649RDEPENDS_${PN}-iwlwifi-6000g2b-5 = "${PN}-iwlwifi-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500650RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
651RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
652RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500653RDEPENDS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-license"
654RDEPENDS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-license"
655RDEPENDS_${PN}-iwlwifi-7265d = "${PN}-iwlwifi-license"
656RDEPENDS_${PN}-iwlwifi-8000c = "${PN}-iwlwifi-license"
657RDEPENDS_${PN}-iwlwifi-8265 = "${PN}-iwlwifi-license"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400658RDEPENDS_${PN}-iwlwifi-9000 = "${PN}-iwlwifi-license"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600659RDEPENDS_${PN}-iwlwifi-misc = "${PN}-iwlwifi-license"
660
661# -iwlwifi-misc is a "catch all" package that includes all the iwlwifi
662# firmwares that are not already included in other -iwlwifi- packages.
663# -iwlwifi is a virtual package that depends upon all iwlwifi packages.
664# These are distinct in order to allow the -misc firmwares to be installed
665# without pulling in every other iwlwifi package.
666ALLOW_EMPTY_${PN}-iwlwifi = "1"
667ALLOW_EMPTY_${PN}-iwlwifi-misc = "1"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500668
669# Handle package updating for the newly merged iwlwifi groupings
670RPROVIDES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
671RREPLACES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
672RCONFLICTS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
673
674RPROVIDES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
675RREPLACES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
676RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
677
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500678# For ibt
679LICENSE_${PN}-ibt-license = "Firmware-ibt_firmware"
680LICENSE_${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware"
681LICENSE_${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware"
682LICENSE_${PN}-ibt-11-5 = "Firmware-ibt_firmware"
683LICENSE_${PN}-ibt-12-16 = "Firmware-ibt_firmware"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400684LICENSE_${PN}-ibt-17 = "Firmware-ibt_firmware"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500685LICENSE_${PN}-ibt-misc = "Firmware-ibt_firmware"
686
687FILES_${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware"
688FILES_${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq"
689FILES_${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq"
690FILES_${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi /lib/firmware/intel/ibt-11-5.ddc"
691FILES_${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi /lib/firmware/intel/ibt-12-16.ddc"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400692FILES_${PN}-ibt-17 = "${nonarch_base_libdir}/firmware/intel/ibt-17-*.sfi /lib/firmware/intel/ibt-17-*.ddc"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500693FILES_${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/ibt-*"
694
695RDEPENDS_${PN}-ibt-hw-37-7 = "${PN}-ibt-license"
696RDEPENDS_${PN}-ibt-hw-37.8 = "${PN}-ibt-license"
697RDEPENDS_${PN}-ibt-11-5 = "${PN}-ibt-license"
698RDEPENDS_${PN}-ibt-12-16 = "${PN}-ibt-license"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400699RDEPENDS_${PN}-ibt-17 = "${PN}-ibt-license"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500700RDEPENDS_${PN}-ibt-misc = "${PN}-ibt-license"
701
702ALLOW_EMPTY_${PN}-ibt= "1"
703ALLOW_EMPTY_${PN}-ibt-misc = "1"
704
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500705LICENSE_${PN}-i915 = "Firmware-i915"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600706LICENSE_${PN}-i915-license = "Firmware-i915"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500707FILES_${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915"
708FILES_${PN}-i915 = "${nonarch_base_libdir}/firmware/i915"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500709RDEPENDS_${PN}-i915 = "${PN}-i915-license"
710
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500711FILES_${PN}-adsp-sst-license = "${nonarch_base_libdir}/firmware/LICENCE.adsp_sst"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500712LICENSE_${PN}-adsp-sst = "Firmware-adsp_sst"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600713LICENSE_${PN}-adsp-sst-license = "Firmware-adsp_sst"
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500714FILES_${PN}-adsp-sst = "${nonarch_base_libdir}/firmware/intel/dsp_fw*"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500715RDEPENDS_${PN}-adsp-sst = "${PN}-adsp-sst-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500716
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500717# For QAT
718LICENSE_${PN}-qat = "Firmware-qat"
719LICENSE_${PN}-qat-license = "Firmware-qat"
720FILES_${PN}-qat-license = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware"
721FILES_${PN}-qat = "${nonarch_base_libdir}/firmware/qat*.bin"
722RDEPENDS_${PN}-qat = "${PN}-qat-license"
723
Brad Bishop316dfdd2018-06-25 12:45:53 -0400724# For QCOM VPU/GPU
725LICENSE_${PN}-qcom-license = "Firmware-qcom"
726FILES_${PN}-qcom-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom ${nonarch_base_libdir}/firmware/qcom/NOTICE.txt"
727FILES_${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
728FILES_${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
729FILES_${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
730FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*"
731RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
732RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
733RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
734RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
735
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500736# For other firmwares
737# Maybe split out to separate packages when needed.
738LICENSE_${PN} = "\
739 Firmware-Abilis \
740 & Firmware-agere \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500741 & Firmware-amdgpu \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500742 & Firmware-amd-ucode \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500743 & Firmware-atmel \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500744 & Firmware-ca0132 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500745 & Firmware-cavium \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500746 & Firmware-chelsio_firmware \
747 & Firmware-cw1200 \
748 & Firmware-dib0700 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500749 & Firmware-e100 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500750 & Firmware-ene_firmware \
751 & Firmware-fw_sst_0f28 \
752 & Firmware-go7007 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500753 & Firmware-hfi1_firmware \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500754 & Firmware-i2400m \
755 & Firmware-ibt_firmware \
756 & Firmware-it913x \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500757 & Firmware-IntcSST2 \
758 & Firmware-kaweth \
759 & Firmware-moxa \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500760 & Firmware-myri10ge_firmware \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500761 & Firmware-nvidia \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500762 & Firmware-OLPC \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500763 & Firmware-ath9k-htc \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500764 & Firmware-phanfw \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500765 & Firmware-qat \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400766 & Firmware-qcom \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500767 & Firmware-qla1280 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500768 & Firmware-qla2xxx \
769 & Firmware-r8a779x_usb3 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500770 & Firmware-radeon \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500771 & Firmware-ralink_a_mediatek_company_firmware \
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600772 & Firmware-ralink-firmware \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500773 & Firmware-imx-sdma_firmware \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500774 & Firmware-siano \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500775 & Firmware-tda7706-firmware \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500776 & Firmware-ti-connectivity \
777 & Firmware-ti-keystone \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500778 & Firmware-ueagle-atm4-firmware \
779 & Firmware-wl1251 \
780 & Firmware-xc4000 \
781 & Firmware-xc5000 \
782 & Firmware-xc5000c \
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600783 & WHENCE \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500784"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500785
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500786FILES_${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
787FILES_${PN} += "${nonarch_base_libdir}/firmware/*"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500788RDEPENDS_${PN} += "${PN}-license"
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600789RDEPENDS_${PN} += "${PN}-whence-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500790
791# Make linux-firmware depend on all of the split-out packages.
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600792# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages.
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500793# Make linux-firmware-ibt depend on all of the split-out ibt packages.
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500794python populate_packages_prepend () {
795 firmware_pkgs = oe.utils.packages_filter_out_system(d)
796 d.appendVar('RDEPENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs))
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600797
798 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
799 d.appendVar('RDEPENDS_linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500800
801 ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
802 d.appendVar('RDEPENDS_linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500803}
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500804
805# Firmware files are generally not ran on the CPU, so they can be
806# allarch despite being architecture specific
807INSANE_SKIP = "arch"