summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-03-04 11:13:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-06 08:19:18 +0000
commit2b43efced71068b8826136dd41db44ea94213b67 (patch)
treea1ab25227fa2f6f1dc05eef0e05a54dcf11ffed0 /meta/recipes-kernel
parentc412d3440ccc0b0a498dd3c31193bafb0c4edb81 (diff)
downloadpoky-2b43efced71068b8826136dd41db44ea94213b67.tar.gz
linux-firmware: use 'make install' for installation
Copying the source tree over was missing important symlinks that since recent updates can only be created with make install. (From OE-Core rev: 8764cc85f3ef570f1c220c3c200d6e02d3e7a260) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb22
1 files changed, 1 insertions, 21 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
index 0d1422cfca..f7198cb56a 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
@@ -208,27 +208,7 @@ do_compile() {
208} 208}
209 209
210do_install() { 210do_install() {
211 install -d ${D}${nonarch_base_libdir}/firmware/ 211 oe_runmake 'DESTDIR=${D}' install
212 cp -r * ${D}${nonarch_base_libdir}/firmware/
213
214 # Avoid Makefile to be deployed
215 rm ${D}${nonarch_base_libdir}/firmware/Makefile
216
217 # Remove unbuild firmware which needs cmake and bash
218 rm ${D}${nonarch_base_libdir}/firmware/carl9170fw -rf
219
220 # Remove pointless bash script
221 rm ${D}${nonarch_base_libdir}/firmware/configure
222
223 # Remove python script used to check the WHENCE file
224 rm ${D}${nonarch_base_libdir}/firmware/check_whence.py
225
226 # Libertas sd8686
227 ln -sf libertas/sd8686_v9.bin ${D}${nonarch_base_libdir}/firmware/sd8686.bin
228 ln -sf libertas/sd8686_v9_helper.bin ${D}${nonarch_base_libdir}/firmware/sd8686_helper.bin
229
230 # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it
231 ( cd ${D}${nonarch_base_libdir}/firmware ; ln -sf ti-connectivity/* . )
232} 212}
233 213
234 214