Patchwork linux-firmware: Remove bash scripts from target package

login
register
mail settings
Submitter Richard Purdie
Date Nov. 29, 2013, 1:24 p.m.
Message ID <1385731468.11222.59.camel@ted>
Download mbox | patch
Permalink /patch/62609/
State New
Headers show

Comments

Richard Purdie - Nov. 29, 2013, 1:24 p.m.
The carl9170fw is unbuilt, needs specialise toolchains, cmake and so on
so we might as well delete it (and lose the bash dependnecy).

Equally, the top level bash dependency from the empty configure script is
pointless.

[YOCTO #5555]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index fe6730a..1b0e11f 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -45,6 +45,12 @@  do_install() {
 	# Avoid Makefile to be deplyed
 	rm ${D}/lib/firmware/Makefile
 
+	# Remove unbuild firmware which needs cmake and bash
+	rm ${D}/lib/firmware/carl9170fw -rf
+
+	# Remove pointless bash script
+	rm ${D}/lib/firmware/configure
+
 	# Libertas sd8686
 	ln -sf libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
 	ln -sf libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin