From 85fcdbd4f0604b417c5aeb17a02f5485a96f6f5c Mon Sep 17 00:00:00 2001 From: Romain Perier Date: Tue, 8 Sep 2015 17:13:07 +0200 Subject: [PATCH] Add new recipe for brcm-patchram-plus This is the chromeos Broadcom patchram utility. We need it in order to kick bluetooth device dynamically and "patch" bcm4354 chip with the right firmware. It will be only required on linux-veyron, not with linux mainline. Signed-off-by: Romain Perier --- .../brcm-patchram-plus_git.bb | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_git.bb diff --git a/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_git.bb b/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_git.bb new file mode 100644 index 0000000..67ba7e4 --- /dev/null +++ b/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_git.bb @@ -0,0 +1,26 @@ +# Copyright (C) 2015 Romain Perier +# Released under the MIT license (see COPYING.MIT for the terms) + +inherit base + +DESCRIPTION = "Chromium OS Broadcom patchram utility" +HOMEPAGE = "https://chromium.googlesource.com/chromiumos/third_party/broadcom/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE.broadcom;md5=4ff9e0bf45dfdad0b7756c07b65ed24a" +S = "${WORKDIR}/git/bluetooth" +SECTION = "console/utils" + +DEPENDS = "bluez5" +PR = "r1" +PV = "git+4070e71" + +SRCREV = "4070e7161f2f1a1a22027a744eb868500688f0b6" +SRC_URI = "git://chromium.googlesource.com/chromiumos/third_party/broadcom;protocol=http;branch=master" + +FILES_${PN} = "/usr/bin/*" + +do_install_append() { + install -d ${D}/usr/bin + install -m 755 brcm_patchram_plus ${D}/usr/bin +} +