Fix firmware installation for images w/o subdirs
PATCH 1/1 Fix firmware installation for images w/o subdirs
On some setups (probably due to too new a GNU Make), firmware
installation fails with
*** No rule to make target lib/firmware/./', needed by lib/firmware/<file>.fw'. Stop. when a file in the top-level firmware/ directory is needed.
Original patch idea by Denys Dmytriyenko, see
http://permalink.gmane.org/gmane.linux.embedded.yocto.meta-ti/27
--- scripts/Makefile.fwinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/Makefile.fwinst +1 -1
@@ -27,7 +27,7 @@ endif installed-mod-fw := $(addprefix $(INSTALL_FW_PATH)/,$(mod-fw)) installed-fw := $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-all)) -installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/. +installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/./ # Workaround for make < 3.81, where .SECONDEXPANSION doesn't work. PHONY += $(INSTALL_FW_PATH)/$$(%) install-all-dirs
Quoted 6 lines · On 31.07.2012 22:59, [email protected] wrote:
On some setups (probably due to too new a GNU Make), firmware installation fails with
*** No rule to make targetlib/firmware/./', needed bylib/firmware/<file>.fw'. Stop.
when a file in the top-levelfirmware/directory is needed.
Quoted 7 lines
Original patch idea by Denys Dmytriyenko, see
http://permalink.gmane.org/gmane.linux.embedded.yocto.meta-ti/27Signed-off-by Shea Levy <[email protected]>--- scripts/Makefile.fwinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Whoops, sorry for the double post.