Skip to contentSkip to conversation

linux-firmware: Remove bash scripts from target package

PATCH New Richard Purdie 1 participant 1 message Nov 29, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-firmware: Remove bash scripts from target package

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]

---

meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +6 -0
index fe6730a..1b0e11f 100644
@@ -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