Signed-off-by: Karthik Ramanan <[email protected]>
---
 ...-Remove-platform-check-and-install-defaul.patch |   41 ++++++++++++++++++++
 .../recipes-bsp/bt-firmware/bt-firmware_git.bb     |    3 +-
 2 files changed, 43 insertions(+), 1 deletion(-)
 create mode 100644 
meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-bt-firmware-Remove-platform-check-and-install-defaul.patch

diff --git 
a/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-bt-firmware-Remove-platform-check-and-install-defaul.patch
 
b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-bt-firmware-Remove-platform-check-and-install-defaul.patch
new file mode 100644
index 0000000..4ad457e
--- /dev/null
+++ 
b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-bt-firmware-Remove-platform-check-and-install-defaul.patch
@@ -0,0 +1,41 @@
+From 40bb43c136ec8001d35f6077e5de5f8ac72f4da0 Mon Sep 17 00:00:00 2001
+From: Roger Monk <[email protected]>
+Date: Thu, 3 Oct 2013 02:59:54 +0100
+Subject: [PATCH] bt-firmware:  Remove platform check and install default
+ firmware
+
+   * For undefined plaforms, install default firmware
+   * Remove configuration of 'unknown' so that install picks
+     firmware from root directory (default)
+
+Signed-off-by: Roger Monk <[email protected]>
+---
+ Makefile |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index bd94881..ca8280a 100644
+--- a/Makefile
++++ b/Makefile
+@@ -5,8 +5,8 @@
+ # If KERNEL_DIR is not set then use the default in Rules.make
+ DEST_DIR ?= ${DESTDIR}
+ 
+-PLATFORM ?= "unknown"
+-MACHINE_NAME ?= "unknown"
++#PLATFORM ?= "unknown"
++#MACHINE_NAME ?= "unknown"
+ 
+ ifeq ($(PLATFORM), am335x-evm)
+     MACHINE_NAME := am335x
+@@ -23,6 +23,6 @@ endif
+ 
+ install:
+       install -d $(DEST_DIR)${BASE_LIB_DIR}/firmware
+-      cp -f ./${MACHINE_NAME}/* $(DEST_DIR)${BASE_LIB_DIR}/firmware
++      cp -f ./${MACHINE_NAME}/*.bts $(DEST_DIR)${BASE_LIB_DIR}/firmware
+ 
+ 
+-- 
+1.7.9.5
+
diff --git a/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb 
b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb
index 3c40441..20db8da 100644
--- a/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb
+++ b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb
@@ -18,7 +18,8 @@ COMPATIBLE_MACHINE = "ti33x|ti43x|dra7xx-evm"
 SRCREV = "fbcab22449ce930a4192ffeb470c168f4e85e0c6"
 BRANCH = "master"
 SRC_URI = "git://git.ti.com/wilink8-bt/ti-bt-firmware.git;branch=${BRANCH} \
-           file://0001-Makefile-allow-building-within-the-OE.patch"
+           file://0001-Makefile-allow-building-within-the-OE.patch \
+           
file://0001-bt-firmware-Remove-platform-check-and-install-defaul.patch"
 
 PLATFORM = "unknown"
 PLATFORM_ti33x = "am335x-evm"
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to