Franklin,

Do you need this patch in dylan? It was not picked up for 2013.12.01 release, 
as the corresponding kernel changes were not approved. I pushed it to dora...

-- 
Denys


On Tue, Feb 11, 2014 at 04:04:52PM +0200, Eyal Reizer wrote:
> Modify the recipe to allow installing the bluetooth init script for
> am437x-evm
> 
> Signed-off-by: Eyal Reizer <[email protected]>
> ---
>  ...001-Makefile-allow-building-within-the-OE.patch |   29 +++++++++++--------
>  .../recipes-bsp/bt-firmware/bt-firmware_git.bb     |    9 +++---
>  2 files changed, 22 insertions(+), 16 deletions(-)
> 
> diff --git 
> a/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-Makefile-allow-building-within-the-OE.patch
>  
> b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-Makefile-allow-building-within-the-OE.patch
> index 49caa85..a8642a9 100644
> --- 
> a/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-Makefile-allow-building-within-the-OE.patch
> +++ 
> b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-Makefile-allow-building-within-the-OE.patch
> @@ -1,6 +1,6 @@
> -From 8f226ccc9d2cbd10d454e131376c35f502a45e3b Mon Sep 17 00:00:00 2001
> -From: Chase Maupin <[email protected]>
> -Date: Wed, 7 Mar 2012 14:11:42 -0600
> +From 465ffd990e3366732eb5e2271313539b55c4ccb7 Mon Sep 17 00:00:00 2001
> +From: Eyal Reizer <[email protected]>
> +Date: Tue, 11 Feb 2014 15:17:53 +0200
>  Subject: [PATCH] Makefile: allow building with OE
>  
>  * Use defaults and source values that allow building this
> @@ -10,17 +10,19 @@ Upstread-Status: Pending
>      * Will be accepted into next release
>  
>  Signed-off-by: Chase Maupin <[email protected]>
> +    < adapated for am437x>
> +Signed-off-by: Eyal Reizer <[email protected]>
>  ---
> - Makefile |   21 +++++++++++++++++++++
> - 1 files changed, 21 insertions(+), 0 deletions(-)
> + Makefile |   23 +++++++++++++++++++++++
> + 1 files changed, 23 insertions(+), 0 deletions(-)
>  
>  diff --git a/Makefile b/Makefile
> -index 9035e40..bd94881 100644
> +index 9035e40..23bc5b6 100644
>  --- a/Makefile
>  +++ b/Makefile
> -@@ -1,5 +1,26 @@
> +@@ -1,5 +1,28 @@
>   # 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
> @@ -41,9 +43,12 @@ index 9035e40..bd94881 100644
>  +ifeq ($(PLATFORM), am37x-evm)
>  +    MACHINE_NAME := omap3evm
>  +endif
> -+
> ++ifeq ($(PLATFORM), am437x-evm)
> ++    MACHINE_NAME := am43xx
> ++endif
>   install:
> -     install -d $(DEST_DIR)${BASE_LIB_DIR}/firmware
> -     cp -f ./${MACHINE_NAME}/* $(DEST_DIR)${BASE_LIB_DIR}/firmware
> ---
> +     install -d $(DEST_DIR)${BASE_LIB_DIR}/firmware
> +     cp -f ./${MACHINE_NAME}/* $(DEST_DIR)${BASE_LIB_DIR}/firmware
> +-- 
>  1.7.0.4
> +
> 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 d788875..9aff61a 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
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Firmware files for Bluetooth"
>  LICENSE = "TI-TSPA"
> -LIC_FILES_CHKSUM = 
> "file://am335x/LICENCE;md5=5f67a65df8b40038a3251b2fe5b912df \
> +LIC_FILES_CHKSUM = 
> "file://am335x/LICENCE;md5=4b46aed2a87412c84f9363a8db053e1b \
>  "
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
> @@ -11,16 +11,17 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
>  RCONFLICTS_${PN} = "linux-firmware-wl12xx"
>  RREPLACES_${PN}  = "linux-firmware-wl12xx"
>  
> -PR = "r3+gitr${SRCPV}"
> +PR = "r4+gitr${SRCPV}"
>  
> -COMPATIBLE_MACHINE = "ti33x"
> +COMPATIBLE_MACHINE = "ti33x|ti43x"
>  
> -SRCREV = "57a8e569575e742c47dc2452c4932dcfff816442"
> +SRCREV = "7496df8d130f2db85d5d50b1f703213edf0b54fb"
>  SRC_URI = "git://github.com/TI-ECS/bt-firmware.git;protocol=git \
>             file://0001-Makefile-allow-building-within-the-OE.patch"
>  
>  PLATFORM = "unknown"
>  PLATFORM_ti33x = "am335x-evm"
> +PLATFORM_ti43x = "am437x-evm"
>  
>  S = "${WORKDIR}/git"
>  
> -- 
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to