]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-firmware: use 'make install' for installation
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 4 Mar 2020 10:13:07 +0000 (11:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Mar 2020 08:17:26 +0000 (08:17 +0000)
Copying the source tree over was missing important symlinks
that since recent updates can only be created with make install.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb

index 0d1422cfca8b5834ccb47784c8c670bc41f12340..f7198cb56af2765b843b1f39511dba102d7c0d71 100644 (file)
@@ -208,27 +208,7 @@ do_compile() {
 }
 
 do_install() {
-       install -d  ${D}${nonarch_base_libdir}/firmware/
-       cp -r * ${D}${nonarch_base_libdir}/firmware/
-
-       # Avoid Makefile to be deployed
-       rm ${D}${nonarch_base_libdir}/firmware/Makefile
-
-       # Remove unbuild firmware which needs cmake and bash
-       rm ${D}${nonarch_base_libdir}/firmware/carl9170fw -rf
-
-       # Remove pointless bash script
-       rm ${D}${nonarch_base_libdir}/firmware/configure
-
-       # Remove python script used to check the WHENCE file
-       rm ${D}${nonarch_base_libdir}/firmware/check_whence.py
-
-       # Libertas sd8686
-       ln -sf libertas/sd8686_v9.bin ${D}${nonarch_base_libdir}/firmware/sd8686.bin
-       ln -sf libertas/sd8686_v9_helper.bin ${D}${nonarch_base_libdir}/firmware/sd8686_helper.bin
-
-       # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it
-       ( cd ${D}${nonarch_base_libdir}/firmware ; ln -sf ti-connectivity/* . )
+        oe_runmake 'DESTDIR=${D}' install
 }