From: shea@shealevy.com
To: <linux-kbuild@vger.kernel.org>, <mmarek@suse.cz>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH] Fix firmware installation for images w/o subdirs
Date: Tue, 31 Jul 2012 22:59:24 -0400 [thread overview]
Message-ID: <663f65e29cc718b63ef0e2a769d03606@shealevy.com> (raw)
[-- 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
next reply other threads:[~2012-08-01 2:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 2:59 shea [this message]
2012-08-01 3:00 ` shea
-- strict thread matches above, loose matches on Subject: below --
2012-08-01 2:56 Shea Levy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=663f65e29cc718b63ef0e2a769d03606@shealevy.com \
--to=shea@shealevy.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome