packagegroup-opendreambox-essential: move to meta-opendreambox
[opendreambox.git] / meta-bsp / common / recipes / linux / linux-dreambox-3.2 / 0017-CHROMIUM-make-3.82-hack-to-fix-differing-behaviour-b.patch
1 From 81c7cdcf7746dcb2e7a970b566ff570244b9cff4 Mon Sep 17 00:00:00 2001
2 From: Brian Harring <ferringb@chromium.org>
3 Date: Fri, 23 Dec 2011 18:16:15 -0800
4 Subject: [PATCH 17/17] CHROMIUM: make-3.82: hack to fix differing behaviour
5  between 3.81 and 3.82
6
7 BUG=chromium-os:19882
8 TEST=emerge make-3.82 via I7d0a6e25, emerge-x86-alex chromeos-kernel
9
10 Change-Id: I6accabc10e93fe12debba42667900e4e0463cb41
11 Signed-off-by: Brian Harring <ferringb@chromium.org>
12 Reviewed-on: https://gerrit.chromium.org/gerrit/13474
13 Reviewed-by: Olof Johansson <olofj@chromium.org>
14 (cherry picked from commit aac3e80b6ca8b49036786edfb5ff0aead2426138)
15 ---
16  scripts/Makefile.fwinst | 10 +++++++++-
17  1 file changed, 9 insertions(+), 1 deletion(-)
18
19 diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst
20 index 6bf8e87..689204f 100644
21 --- a/scripts/Makefile.fwinst
22 +++ b/scripts/Makefile.fwinst
23 @@ -27,7 +27,7 @@ endif
24  installed-mod-fw := $(addprefix $(INSTALL_FW_PATH)/,$(mod-fw))
25  
26  installed-fw := $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-all))
27 -installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/.
28 +installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)
29  
30  # Workaround for make < 3.81, where .SECONDEXPANSION doesn't work.
31  PHONY += $(INSTALL_FW_PATH)/$$(%) install-all-dirs
32 @@ -36,6 +36,14 @@ $(INSTALL_FW_PATH)/$$(%): install-all-dirs
33  install-all-dirs: $(installed-fw-dirs)
34         @true
35  
36 +
37 +# hack for make-3.82 support; without this (admittedly daft) rule,
38 +# firmware installation fails since it can't find a matching
39 +# rule for $(INSTALL_FW_PATH/..
40 +# leave the hack in place till the root cause is fully found, without
41 +# it make-3.82 cannot be used.
42 +$(INSTALL_FW_PATH)/./: $(INSTALL_FW_PATH)
43 +
44  quiet_cmd_install = INSTALL $(subst $(srctree)/,,$@)
45        cmd_install = $(INSTALL) -m0644 $< $@
46  
47 -- 
48 1.8.1.2
49