linux-firmware: Remove bash scripts from target package
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Nov 2013 13:24:28 +0000 (13:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Nov 2013 22:26:27 +0000 (22:26 +0000)
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]

(From OE-Core rev: e2b62393497a0aaffb21161336a42249db61a10d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb

index fe6730a..1b0e11f 100644 (file)
@@ -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