Patchwork [v2,1/5] linux-firmware: Remove 'Makefile' from packages

login
register
mail settings
Submitter Otavio Salvador
Date March 28, 2013, 4:58 p.m.
Message ID <1364489896-25975-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/47091/
State Accepted
Commit c3a0225191eef45cae5aae771ce7c630155be45b
Headers show

Comments

Otavio Salvador - March 28, 2013, 4:58 p.m.
The 'Makefile' should not be deployed in the packages as it is of no
use for target and end user.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index b9e00fc..2b05172 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -38,6 +38,9 @@  do_install() {
 	install -d  ${D}/lib/firmware/
 	cp -r * ${D}/lib/firmware/
 
+	# Avoid Makefile to be deplyed
+	rm ${D}/lib/firmware/Makefile
+
 	# 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