linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix firmware installation for images w/o subdirs
@ 2012-08-01  2:56 Shea Levy
  0 siblings, 0 replies; 3+ messages in thread
From: Shea Levy @ 2012-08-01  2:56 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org, Michal Marek, linux-kbuild

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]


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

Signed-off-by: Shea Levy <shea@shealevy.com>
---
  scripts/Makefile.fwinst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)



[-- Attachment #2: 0001-Fix-firmware-installation-for-images-w-o-subdirs.patch --]
[-- Type: text/x-patch, Size: 583 bytes --]

diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst
index 6bf8e87..4d908d1 100644
--- a/scripts/Makefile.fwinst
+++ b/scripts/Makefile.fwinst
@@ -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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] Fix firmware installation for images w/o subdirs
@ 2012-08-01  2:59 shea
  2012-08-01  3:00 ` shea
  0 siblings, 1 reply; 3+ messages in thread
From: shea @ 2012-08-01  2:59 UTC (permalink / raw)
  To: linux-kbuild, mmarek, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

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

Signed-off-by: Shea Levy <shea@shealevy.com>
---
  scripts/Makefile.fwinst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-firmware-installation-for-images-w-o-subdirs.patch --]
[-- Type: text/x-patch; name=0001-Fix-firmware-installation-for-images-w-o-subdirs.patch, Size: 582 bytes --]

diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst
index 6bf8e87..4d908d1 100644
--- a/scripts/Makefile.fwinst
+++ b/scripts/Makefile.fwinst
@@ -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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix firmware installation for images w/o subdirs
  2012-08-01  2:59 shea
@ 2012-08-01  3:00 ` shea
  0 siblings, 0 replies; 3+ messages in thread
From: shea @ 2012-08-01  3:00 UTC (permalink / raw)
  To: linux-kbuild, mmarek, linux-kernel

On 31.07.2012 22:59, shea@shealevy.com wrote:
> 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
>
> Signed-off-by: Shea Levy <shea@shealevy.com>
> ---
>  scripts/Makefile.fwinst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Whoops, sorry for the double post.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-01  3:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01  2:56 [PATCH] Fix firmware installation for images w/o subdirs Shea Levy
  -- strict thread matches above, loose matches on Subject: below --
2012-08-01  2:59 shea
2012-08-01  3:00 ` shea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).