From patchwork Wed Aug 1 02:59:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shea Levy X-Patchwork-Id: 1262861 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 1485B3FC1A for ; Wed, 1 Aug 2012 03:00:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753902Ab2HADAF (ORCPT ); Tue, 31 Jul 2012 23:00:05 -0400 Received: from hapkido.dreamhost.com ([66.33.216.122]:54000 "EHLO hapkido.dreamhost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753683Ab2HADAE (ORCPT ); Tue, 31 Jul 2012 23:00:04 -0400 Received: from homiemail-a83.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by hapkido.dreamhost.com (Postfix) with ESMTP id 4654F72A for ; Tue, 31 Jul 2012 20:00:04 -0700 (PDT) Received: from homiemail-a83.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a83.g.dreamhost.com (Postfix) with ESMTP id 4ABAA5E063; Tue, 31 Jul 2012 19:59:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shealevy.com; h=mime-version :content-type:date:from:to:subject:message-id; q=dns; s= shealevy.com; b=BVNjmiVFCcaTLTHmRmlQAv+0B+CPO4+z3ge6KdHiMqLdenyZ GSSeCs3o6BtIp21AyHNbqlROJ7FuOs2V1XO6cnBPgD6a+fdcTlYxwJIlvCYRSXHj D+7J2/4OLKoJ+ek7Mxri85czuZcx3qm/qvEsTCcizc2dZ692s4JuxsKtGO4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=shealevy.com; h= mime-version:content-type:date:from:to:subject:message-id; s= shealevy.com; bh=MBZT/di4EcmvqB8xnx63z4U43ZA=; b=gYu9NXdMrP0ecjX bRtpJJMqj2aFrkd1Aac9f3BczM6FRqHZGGxrH5iKgGhloQo6TopROykX5NPvEQEY im2GWh1iDpov40zQ37y5YhHPPTJmNeHYTTRE2cqppFZWWCdkQwHrf7nYHQF1e4Y2 cjuOPlwo2he4Hov+Jyh7H24W3cT0= Received: from webmail.shealevy.com (caiajhbihbdd.dreamhost.com [208.97.187.133]) (Authenticated sender: shea@shealevy.com) by homiemail-a83.g.dreamhost.com (Postfix) with ESMTPA id 237095E060; Tue, 31 Jul 2012 19:59:24 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 31 Jul 2012 22:59:24 -0400 From: shea@shealevy.com To: , , Subject: [PATCH] Fix firmware installation for images w/o subdirs Message-ID: <663f65e29cc718b63ef0e2a769d03606@shealevy.com> X-Sender: shea@shealevy.com User-Agent: RoundCube Webmail/0.7.1 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org 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/.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 --- scripts/Makefile.fwinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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