[meta-ti] [PATCH] wl12xx-firmware: Port wl12xx-firmware recipe

Denys Dmytriyenko denys at ti.com
Fri Oct 5 15:08:03 PDT 2012


On Fri, Oct 05, 2012 at 02:24:41PM -0500, Franklin S. Cooper Jr wrote:
> * Port wl12xx-firmware recipe from arago. This recipe was originally
>   named linux-firmware in arago.
> * Wl12xx-firmware provides the firmware files for use with the TI
>   Wi-Fi + Bluetooth module.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper at ti.com>
> ---
>  recipes-bsp/wl12xx-firmware/wl12xx-firmware_git.bb |   28 ++++++++++++++++++++
>  1 files changed, 28 insertions(+), 0 deletions(-)
>  create mode 100644 recipes-bsp/wl12xx-firmware/wl12xx-firmware_git.bb
> 
> diff --git a/recipes-bsp/wl12xx-firmware/wl12xx-firmware_git.bb b/recipes-bsp/wl12xx-firmware/wl12xx-firmware_git.bb
> new file mode 100644
> index 0000000..3fa9dbb
> --- /dev/null
> +++ b/recipes-bsp/wl12xx-firmware/wl12xx-firmware_git.bb
> @@ -0,0 +1,28 @@
> +DESCRIPTION = "Firmware files for use with TI wl12xx"
> +LICENSE = "TI-TSPA"
> +LIC_FILES_CHKSUM = "file://LICENCE;md5=ba590e1d103f891d0151609046aef9e8"
> +
> +PACKAGE_ARCH = "all"
> +
> +PR = "r0+gitr${SRCREV}"
> +
> +# This recipe provides the latest firmware files for wl12xx.
> +# Therefore, use the contents of this recipe instead of the contents
> +# of linux-firmware-wl12xx.
> +RCONFLICTS_${PN} = "linux-firmware-wl12xx"
> +RREPLACES_${PN}  = "linux-firmware-wl12xx"

BTW, the other thing to consider here, is also adding RPROVIDES_${PN} = 
"linux-firmware-wl12xx" as that should prevent mixing both in the same image 
by failing early on...

-- 
Denys


> +SRCREV = "38e0dd7999b9087e00d1a59306a7c22fd23246cf"
> +SRC_URI = "git://github.com/TI-ECS/ti-utils.git;protocol=git"
> +
> +S = "${WORKDIR}/git/hw/firmware"
> +
> +do_compile() {
> +	:
> +}
> +
> +do_install() {
> +	oe_runmake 'DEST_DIR=${D}' install
> +}
> +
> +FILES_${PN} = "/lib/firmware/ti-connectivity/*"
> -- 
> 1.7.0.4
> 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
> 



More information about the meta-ti mailing list