bt-firmware: Port bt-firmware recipe
PATCH v2 1/1 bt-firmware: Port bt-firmware recipe
* Port bt-firmware recipe from arago.
* Bt-firmware provides the bluetooth firmware for the TI wl12xx Wi+Fi + Bluetooth module.
---
Version 2 changes:
Update ordering based on OE Styling Guide:
http://www.openembedded.org/wiki/Styleguide
Remove unneeded DEPENDS and PACKAGE_ARCH setting Use updated package strip syntax.
Remove the machine da850-omapl138-evm from the recipe Remove tab from oe_runmake
Appending to EXTRA_OEMAKE instead of overriding it
...001-Makefile-allow-building-within-the-OE.patch | 49 ++++++++++++++++++++ recipes-bsp/bt-firmware/bt-firmware_git.bb | 41 ++++++++++++++++ 2 files changed, 90 insertions(+), 0 deletions(-) create mode 100644 recipes-bsp/bt-firmware/bt-firmware/0001-Makefile-allow-building-within-the-OE.patch create mode 100644 recipes-bsp/bt-firmware/bt-firmware_git.bb
recipes-bsp/bt-firmware/bt-firmware/0001-Makefile-allow-building-within-the-OE.patch new file +49 -0
@@ -0,0 +1,49 @@ +From 8f226ccc9d2cbd10d454e131376c35f502a45e3b Mon Sep 17 00:00:00 2001 +From: Chase Maupin <[email protected]> +Date: Wed, 7 Mar 2012 14:11:42 -0600 +Subject: [PATCH] Makefile: allow building with OE + +* Use defaults and source values that allow building this + component with OE. + +Upstread-Status: Pending + * Will be accepted into next release + +Signed-off-by: Chase Maupin <[email protected]> +--- + Makefile | 21 +++++++++++++++++++++ + 1 files changed, 21 insertions(+), 0 deletions(-) + +diff --git a/Makefile b/Makefile +index 9035e40..bd94881 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,26 @@ + # Installs the the Bluetooth firmware files into the root file system + ++-include ../../../Rules.make ++ ++# If KERNEL_DIR is not set then use the default in Rules.make ++DEST_DIR ?= ${DESTDIR} ++ ++PLATFORM ?= "unknown" ++MACHINE_NAME ?= "unknown" ++ ++ifeq ($(PLATFORM), am335x-evm) ++ MACHINE_NAME := am335x ++endif ++ifeq ($(PLATFORM), am180x-evm) ++ MACHINE_NAME := am1808 ++endif ++ifeq ($(PLATFORM), da850-omapl138-evm) ++ MACHINE_NAME := am1808 ++endif ++ifeq ($(PLATFORM), am37x-evm) ++ MACHINE_NAME := omap3evm ++endif ++ + install: + install -d $(DEST_DIR)${BASE_LIB_DIR}/firmware + cp -f ./${MACHINE_NAME}/* $(DEST_DIR)${BASE_LIB_DIR}/firmware +-- +1.7.0.4
recipes-bsp/bt-firmware/bt-firmware_git.bb new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
1.7.0.4
Ignore. I will probably need to make a similar change to this recipe but I grabbed the wrong patch. Comments were for the bt-enable recipe
-----Original Message-----
From: Franklin S. Cooper Jr [mailto:[email protected]]
Sent: Monday, October 08, 2012 10:26 AM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [PATCH v2] bt-firmware: Port bt-firmware recipe
* Port bt-firmware recipe from arago.
* Bt-firmware provides the bluetooth firmware for the TI wl12xx Wi+Fi + Bluetooth module.
---
Version 2 changes:
Update ordering based on OE Styling Guide:
http://www.openembedded.org/wiki/Styleguide
Remove unneeded DEPENDS and PACKAGE_ARCH setting Use updated package strip syntax.
Remove the machine da850-omapl138-evm from the recipe Remove tab from oe_runmake Appending to EXTRA_OEMAKE instead of overriding it
...001-Makefile-allow-building-within-the-OE.patch | 49 ++++++++++++++++++++ recipes-bsp/bt-firmware/bt-firmware_git.bb | 41 ++++++++++++++++ 2 files changed, 90 insertions(+), 0 deletions(-) create mode 100644 recipes-bsp/bt-firmware/bt-firmware/0001-Makefile-allow-building-within-the-OE.patch create mode 100644 recipes-bsp/bt-firmware/bt-firmware_git.bb
recipes-bsp/bt-firmware/bt-firmware/0001-Makefile-allow-building-w new file +0 -0
+++ ithin-the-OE.patch
@@ -0,0 +1,49 @@
+From 8f226ccc9d2cbd10d454e131376c35f502a45e3b Mon Sep 17 00:00:00 2001 +From: Chase Maupin <[email protected]>
+Date: Wed, 7 Mar 2012 14:11:42 -0600
+Subject: [PATCH] Makefile: allow building with OE
+
+* Use defaults and source values that allow building this
+ component with OE.
+
+Upstread-Status: Pending
+ * Will be accepted into next release
+
+Signed-off-by: Chase Maupin <[email protected]>
+--- + Makefile | 21 +++++++++++++++++++++
+ 1 files changed, 21 insertions(+), 0 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 9035e40..bd94881 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,26 @@
+ # Installs the the Bluetooth firmware files into the root file system +
++-include ../../../Rules.make
++
++# If KERNEL_DIR is not set then use the default in Rules.make DEST_DIR ++?= ${DESTDIR}
++
++PLATFORM ?= "unknown"
++MACHINE_NAME ?= "unknown"
++
++ifeq ($(PLATFORM), am335x-evm)
++ MACHINE_NAME := am335x
++endif
++ifeq ($(PLATFORM), am180x-evm)
++ MACHINE_NAME := am1808
++endif
++ifeq ($(PLATFORM), da850-omapl138-evm)
++ MACHINE_NAME := am1808
++endif
++ifeq ($(PLATFORM), am37x-evm)
++ MACHINE_NAME := omap3evm
++endif
++
+ install:
+ install -d $(DEST_DIR)${BASE_LIB_DIR}/firmware
+ cp -f ./${MACHINE_NAME}/* $(DEST_DIR)${BASE_LIB_DIR}/firmware
+--
+1.7.0.4
recipes-bsp/bt-firmware/bt-firmware_git.bb new file +41 -0
41 lines not on this page · raw message
--
1.7.0.4