summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-03-28 13:58:14 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-02 18:13:40 +0100
commit19a60905932a2589f8ebe6a26430d237a58f17fc (patch)
treefe268f6058d2cf346e0b7dcf223c9ec17bfd12d6 /meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
parentacd3735c3a6115284f8363f4a4a9e498a7f7283b (diff)
downloadpoky-19a60905932a2589f8ebe6a26430d237a58f17fc.tar.gz
linux-firmware: Package Reaktek and Broadcom licenses
The licenses need to be included onto rootfs so we have a new package for license file when we have multiple packages for same vendor. This patch does this change for current packages in this specific case. (From OE-Core rev: b4113c1272a4e97e1791f4dfe02a2cd3c664c61d) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-firmware/linux-firmware_git.bb')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb26
1 files changed, 17 insertions, 9 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index a75a0e17da..a2e12f2e1c 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -49,9 +49,9 @@ do_install() {
49 ( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . ) 49 ( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . )
50} 50}
51 51
52PACKAGES =+ "${PN}-ralink ${PN}-sd8686 ${PN}-rtl8192cu \ 52PACKAGES =+ "${PN}-ralink ${PN}-sd8686 ${PN}-wl12xx \
53 ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-wl12xx \ 53 ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \
54 ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334" 54 ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334"
55 55
56LICENSE_${PN}-ralink = "Firmware-ralink" 56LICENSE_${PN}-ralink = "Firmware-ralink"
57FILES_${PN}-ralink = " \ 57FILES_${PN}-ralink = " \
@@ -66,16 +66,22 @@ FILES_${PN}-sd8686 = " \
66 /lib/firmware/LICENCE.libertas \ 66 /lib/firmware/LICENCE.libertas \
67" 67"
68 68
69FILES_${PN}-rtl-license = " \
70 /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \
71"
72
69LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi" 73LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi"
70FILES_${PN}-rtl8192cu = " \ 74FILES_${PN}-rtl8192cu = " \
71 /lib/firmware/rtlwifi/rtl8192cufw.bin \ 75 /lib/firmware/rtlwifi/rtl8192cufw.bin \
72 /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \
73" 76"
77RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license"
74 78
75LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi" 79LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi"
76FILES_${PN}-rtl8192ce = " \ 80FILES_${PN}-rtl8192ce = " \
77 /lib/firmware/rtlwifi/rtl8192cfw.bin \ 81 /lib/firmware/rtlwifi/rtl8192cfw.bin \
78" 82"
83RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license"
84
79 85
80LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi" 86LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi"
81FILES_${PN}-rtl8192su = " \ 87FILES_${PN}-rtl8192su = " \
@@ -94,29 +100,31 @@ FILES_${PN}-wl12xx = " \
94 100
95ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin" 101ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin"
96 102
103FILES_${PN}-broadcom-license = " \
104 /lib/firmware/LICENCE.broadcom_bcm43xx \
105"
106
97LICENSE_${PN}-bcm4329 = "Firmware-bcm4329" 107LICENSE_${PN}-bcm4329 = "Firmware-bcm4329"
98FILES_${PN}-bcm4329 = " \ 108FILES_${PN}-bcm4329 = " \
99 /lib/firmware/brcm/brcmfmac4329.bin \ 109 /lib/firmware/brcm/brcmfmac4329.bin \
100 /lib/firmware/LICENCE.broadcom_bcm43xx \
101" 110"
111RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license"
102ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin" 112ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin"
103ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329.bin" 113ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329.bin"
104 114
105LICENSE_${PN}-bcm4330 = "Firmware-bcm4330" 115LICENSE_${PN}-bcm4330 = "Firmware-bcm4330"
106FILES_${PN}-bcm4330 = " \ 116FILES_${PN}-bcm4330 = " \
107 /lib/firmware/brcm/brcmfmac4330.bin \ 117 /lib/firmware/brcm/brcmfmac4330.bin \
108 /lib/firmware/LICENCE.broadcom_bcm43xx \
109" 118"
110 119RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license"
111ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin" 120ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin"
112ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330.bin" 121ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330.bin"
113 122
114LICENSE_${PN}-bcm4334 = "Firmware-bcm4334" 123LICENSE_${PN}-bcm4334 = "Firmware-bcm4334"
115FILES_${PN}-bcm4334 = " \ 124FILES_${PN}-bcm4334 = " \
116 /lib/firmware/brcm/brcmfmac4334.bin \ 125 /lib/firmware/brcm/brcmfmac4334.bin \
117 /lib/firmware/LICENCE.broadcom_bcm43xx \
118" 126"
119 127RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license"
120ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin" 128ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin"
121ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334.bin" 129ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334.bin"
122 130