diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-03-28 13:58:14 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-02 18:13:40 +0100 |
commit | 19a60905932a2589f8ebe6a26430d237a58f17fc (patch) | |
tree | fe268f6058d2cf346e0b7dcf223c9ec17bfd12d6 /meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | |
parent | acd3735c3a6115284f8363f4a4a9e498a7f7283b (diff) | |
download | poky-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.bb | 26 |
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 | ||
52 | PACKAGES =+ "${PN}-ralink ${PN}-sd8686 ${PN}-rtl8192cu \ | 52 | PACKAGES =+ "${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 | ||
56 | LICENSE_${PN}-ralink = "Firmware-ralink" | 56 | LICENSE_${PN}-ralink = "Firmware-ralink" |
57 | FILES_${PN}-ralink = " \ | 57 | FILES_${PN}-ralink = " \ |
@@ -66,16 +66,22 @@ FILES_${PN}-sd8686 = " \ | |||
66 | /lib/firmware/LICENCE.libertas \ | 66 | /lib/firmware/LICENCE.libertas \ |
67 | " | 67 | " |
68 | 68 | ||
69 | FILES_${PN}-rtl-license = " \ | ||
70 | /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \ | ||
71 | " | ||
72 | |||
69 | LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi" | 73 | LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi" |
70 | FILES_${PN}-rtl8192cu = " \ | 74 | FILES_${PN}-rtl8192cu = " \ |
71 | /lib/firmware/rtlwifi/rtl8192cufw.bin \ | 75 | /lib/firmware/rtlwifi/rtl8192cufw.bin \ |
72 | /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \ | ||
73 | " | 76 | " |
77 | RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license" | ||
74 | 78 | ||
75 | LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi" | 79 | LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi" |
76 | FILES_${PN}-rtl8192ce = " \ | 80 | FILES_${PN}-rtl8192ce = " \ |
77 | /lib/firmware/rtlwifi/rtl8192cfw.bin \ | 81 | /lib/firmware/rtlwifi/rtl8192cfw.bin \ |
78 | " | 82 | " |
83 | RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license" | ||
84 | |||
79 | 85 | ||
80 | LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi" | 86 | LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi" |
81 | FILES_${PN}-rtl8192su = " \ | 87 | FILES_${PN}-rtl8192su = " \ |
@@ -94,29 +100,31 @@ FILES_${PN}-wl12xx = " \ | |||
94 | 100 | ||
95 | ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin" | 101 | ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin" |
96 | 102 | ||
103 | FILES_${PN}-broadcom-license = " \ | ||
104 | /lib/firmware/LICENCE.broadcom_bcm43xx \ | ||
105 | " | ||
106 | |||
97 | LICENSE_${PN}-bcm4329 = "Firmware-bcm4329" | 107 | LICENSE_${PN}-bcm4329 = "Firmware-bcm4329" |
98 | FILES_${PN}-bcm4329 = " \ | 108 | FILES_${PN}-bcm4329 = " \ |
99 | /lib/firmware/brcm/brcmfmac4329.bin \ | 109 | /lib/firmware/brcm/brcmfmac4329.bin \ |
100 | /lib/firmware/LICENCE.broadcom_bcm43xx \ | ||
101 | " | 110 | " |
111 | RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license" | ||
102 | ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin" | 112 | ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin" |
103 | ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329.bin" | 113 | ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329.bin" |
104 | 114 | ||
105 | LICENSE_${PN}-bcm4330 = "Firmware-bcm4330" | 115 | LICENSE_${PN}-bcm4330 = "Firmware-bcm4330" |
106 | FILES_${PN}-bcm4330 = " \ | 116 | FILES_${PN}-bcm4330 = " \ |
107 | /lib/firmware/brcm/brcmfmac4330.bin \ | 117 | /lib/firmware/brcm/brcmfmac4330.bin \ |
108 | /lib/firmware/LICENCE.broadcom_bcm43xx \ | ||
109 | " | 118 | " |
110 | 119 | RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license" | |
111 | ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin" | 120 | ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin" |
112 | ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330.bin" | 121 | ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330.bin" |
113 | 122 | ||
114 | LICENSE_${PN}-bcm4334 = "Firmware-bcm4334" | 123 | LICENSE_${PN}-bcm4334 = "Firmware-bcm4334" |
115 | FILES_${PN}-bcm4334 = " \ | 124 | FILES_${PN}-bcm4334 = " \ |
116 | /lib/firmware/brcm/brcmfmac4334.bin \ | 125 | /lib/firmware/brcm/brcmfmac4334.bin \ |
117 | /lib/firmware/LICENCE.broadcom_bcm43xx \ | ||
118 | " | 126 | " |
119 | 127 | RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license" | |
120 | ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin" | 128 | ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin" |
121 | ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334.bin" | 129 | ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334.bin" |
122 | 130 | ||