]> git.kernelconcepts.de Git - meta-nanopi.git/commitdiff
brcm-patchram-plus: Recipe for Broadcom patchram-plus tool based
authorFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 11 Sep 2015 18:28:12 +0000 (20:28 +0200)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 11 Sep 2015 18:28:12 +0000 (20:28 +0200)
on the ine from Edison firmware repo but without packaged firmware.

Signed-off-by: Florian Boor <florian.boor@kernelconcepts.de>
recipes-tools/brcm-patchram-plus/brcm-patchram-plus_1.0.bb [new file with mode: 0644]

diff --git a/recipes-tools/brcm-patchram-plus/brcm-patchram-plus_1.0.bb b/recipes-tools/brcm-patchram-plus/brcm-patchram-plus_1.0.bb
new file mode 100644 (file)
index 0000000..97f389e
--- /dev/null
@@ -0,0 +1,18 @@
+DESCRIPTION = "Broadcom Bluetooth patch utility (based on Intel Edison tree)"
+SECTION = "connectivity"
+
+SRC_URI = "git://github.com/01org/edison-firmware.git;branch=master;protocol=git;rev=8585a10b3527666b2d35b3dcacffede3ec00cb53"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://brcm_patchram_plus.c;md5=a1a36fbad61f424f16abdabd86d51052"
+
+S = "${WORKDIR}/git/broadcom_cws/bluetooth/firmware/"
+
+do_compile() {
+        ${CC} -O2 -Wall -o brcm_patchram_plus brcm_patchram_plus.c
+}
+
+do_install() {
+        install -v -d  ${D}/usr/sbin/
+        install -m 0755 brcm_patchram_plus ${D}/usr/sbin/
+}