linux-omap4 3.1.0: patch to workaround installing FW images w/o subdirs
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-omap4-3.1.0 / 0001-Makefile.fwinst-fix-install-breakage-for-FW-images-r.patch
1 From f6a15304bc2730ba091eb747c413d4ef4124565e Mon Sep 17 00:00:00 2001
2 From: Denys Dmytriyenko <denys@ti.com>
3 Date: Mon, 5 Mar 2012 16:34:53 -0500
4 Subject: [PATCH] Makefile.fwinst: fix install breakage for FW images residing
5  in firmware/ dir
7 This fixes below error found on some distros (Gentoo and Fedora):
8 *** No rule to make target `lib/firmware/./', needed by `lib/firmware/ti_3410.fw'.  Stop.
10 Signed-off-by: Denys Dmytriyenko <denys@ti.com>
11 ---
12  scripts/Makefile.fwinst |    2 +-
13  1 files changed, 1 insertions(+), 1 deletions(-)
15 diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst
16 index 6bf8e87..4d908d1 100644
17 --- a/scripts/Makefile.fwinst
18 +++ b/scripts/Makefile.fwinst
19 @@ -27,7 +27,7 @@ endif
20  installed-mod-fw := $(addprefix $(INSTALL_FW_PATH)/,$(mod-fw))
21  
22  installed-fw := $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-all))
23 -installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/.
24 +installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/./
25  
26  # Workaround for make < 3.81, where .SECONDEXPANSION doesn't work.
27  PHONY += $(INSTALL_FW_PATH)/$$(%) install-all-dirs
28 -- 
29 1.7.8.5