Return-Path: Received: from vms173009pub.verizon.net (vms173009pub.verizon.net [206.46.173.9]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9A39FE0044C for ; Mon, 5 Mar 2012 14:26:34 -0800 (PST) Received: from gandalf.denix.org ([unknown] [71.178.225.66]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M0F0043JNNVQ450@vms173009.mailsrvcs.net> for meta-ti@yoctoproject.org; Mon, 05 Mar 2012 16:26:20 -0600 (CST) Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id 3118D200AB; Mon, 05 Mar 2012 17:26:19 -0500 (EST) From: Denys Dmytriyenko To: meta-ti@yoctoproject.org Date: Mon, 05 Mar 2012 17:26:14 -0500 Message-id: <1330986374-5746-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 1.7.8.5 Cc: Denys Dmytriyenko Subject: [PATCH] linux-omap4 3.1.0: patch to workaround installing FW images w/o subdirs X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Mailing list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 22:26:34 -0000 From: Denys Dmytriyenko This fixes below error found on some distros (Gentoo and Fedora): *** No rule to make target `lib/firmware/./', needed by `lib/firmware/ti_3410.fw'. Stop. Signed-off-by: Denys Dmytriyenko --- ...inst-fix-install-breakage-for-FW-images-r.patch | 30 ++++++++++++++++++++ recipes-kernel/linux/linux-omap4_3.1.0.bb | 3 +- 2 files changed, 32 insertions(+), 1 deletions(-) create mode 100644 recipes-kernel/linux/linux-omap4-3.1.0/0001-Makefile.fwinst-fix-install-breakage-for-FW-images-r.patch diff --git a/recipes-kernel/linux/linux-omap4-3.1.0/0001-Makefile.fwinst-fix-install-breakage-for-FW-images-r.patch b/recipes-kernel/linux/linux-omap4-3.1.0/0001-Makefile.fwinst-fix-install-breakage-for-FW-images-r.patch new file mode 100644 index 0000000..7455915 --- /dev/null +++ b/recipes-kernel/linux/linux-omap4-3.1.0/0001-Makefile.fwinst-fix-install-breakage-for-FW-images-r.patch @@ -0,0 +1,30 @@ +From f6a15304bc2730ba091eb747c413d4ef4124565e Mon Sep 17 00:00:00 2001 +From: Denys Dmytriyenko +Date: Mon, 5 Mar 2012 16:34:53 -0500 +Subject: [PATCH] Makefile.fwinst: fix install breakage for FW images residing + in firmware/ dir + +This fixes below error found on some distros (Gentoo and Fedora): +*** No rule to make target `lib/firmware/./', needed by `lib/firmware/ti_3410.fw'. Stop. + +Signed-off-by: Denys Dmytriyenko +--- + scripts/Makefile.fwinst | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +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 +-- +1.7.8.5 + diff --git a/recipes-kernel/linux/linux-omap4_3.1.0.bb b/recipes-kernel/linux/linux-omap4_3.1.0.bb index ea1c26a..3cc48be 100644 --- a/recipes-kernel/linux/linux-omap4_3.1.0.bb +++ b/recipes-kernel/linux/linux-omap4_3.1.0.bb @@ -5,7 +5,7 @@ DEFAULT_PREFERENCE = "-1" require linux.inc # The main PR is now using MACHINE_KERNEL_PR, for omap4 see conf/machine/include/omap4.inc -#MACHINE_KERNEL_PR_append = "a" +MACHINE_KERNEL_PR_append = "a" CORTEXA8FIXUP = "no" @@ -13,6 +13,7 @@ CORTEXA8FIXUP = "no" SRCREV = "a5c60c099296fcfc0c8fa8085c40883971486512" SRC_URI = "git://dev.omapzoom.org/pub/scm/integration/kernel-ubuntu.git;protocol=git;branch=ti-ubuntu-3.1-1282 \ + file://0001-Makefile.fwinst-fix-install-breakage-for-FW-images-r.patch \ file://defconfig \ " -- 1.7.8.5