Skip to contentSkip to conversation

package/brcm-patchram-plus: Add new package

PATCH Superseded Vadim Kochan 2 participants 2 messages Dec 24, 2018

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 package/brcm-patchram-plus: Add new package

Add tool which allows to setup broadcom bluetooth
device via UART.

---

v3:
1) Specify src/main.c as license file [Yann E. Morin]

v2:
1) Add link to the github in Config.in help section [Yann E. Morin]
2) Use autoreconf instaed of direct call to autogen.sh [Yann E. Morin]

 DEVELOPERS                                         |  3 +++
 package/Config.in                                  |  1 +
 package/brcm-patchram-plus/Config.in               |  7 +++++++
 package/brcm-patchram-plus/brcm-patchram-plus.hash |  2 ++
 package/brcm-patchram-plus/brcm-patchram-plus.mk   | 12 ++++++++++++
 5 files changed, 25 insertions(+)
 create mode 100644 package/brcm-patchram-plus/Config.in
 create mode 100644 package/brcm-patchram-plus/brcm-patchram-plus.hash
 create mode 100644 package/brcm-patchram-plus/brcm-patchram-plus.mk
DEVELOPERS +3 -0
index 2d58ea9014..03727e8fa4 100644
@@ -2141,6 +2141,9 @@ N:	Tzu-Jung Lee <[email protected]>
 F:	package/dropwatch/
 F:	package/tstools/
 
+N:	Vadim Kochan <[email protected]>
+F:	package/brcm-patchram-plus/
+
 N:	Valentin Korenblit <[email protected]>
 F:	package/clang/
 F:	package/clinfo/
package/Config.in +1 -0
index c3e069134e..72a52a0682 100644
@@ -1819,6 +1819,7 @@ menu "Networking applications"
 	source "package/bmon/Config.in"
 	source "package/boa/Config.in"
 	source "package/boinc/Config.in"
+	source "package/brcm-patchram-plus/Config.in"
 	source "package/bridge-utils/Config.in"
 	source "package/bwm-ng/Config.in"
 	source "package/c-icap/Config.in"
package/brcm-patchram-plus/Config.in new file +7 -0
new file mode 100644
index 0000000000..2742016eb7
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_BRCM_PATCHRAM_PLUS
+	bool "brcm-patchram-plus"
+	help
+	  Broadcom utility to flash Bluetooth firmwares, extended with
+	  per-device Low Power Mode configuration.
+
+	  https://github.com/AsteroidOS/brcm-patchram-plus
package/brcm-patchram-plus/brcm-patchram-plus.hash new file +2 -0
new file mode 100644
index 0000000000..59263f23d4
@@ -0,0 +1,2 @@
+# locally computed
+sha256  7d63f3a0c79cb5d187a0f2647734601f9c97d4eb8e545ce9ace7653c1f3f9a58  brcm-patchram-plus-94fb127e614b19a9a95561b8c1a0716e2e1e6293.tar.gz
package/brcm-patchram-plus/brcm-patchram-plus.mk new file +12 -0
new file mode 100644
index 0000000000..9f2f8d33ea
@@ -0,0 +1,12 @@
+################################################################################
+#
+# brcm-patchram-plus
+#
+################################################################################
+
+BRCM_PATCHRAM_PLUS_VERSION = 94fb127e614b19a9a95561b8c1a0716e2e1e6293
+BRCM_PATCHRAM_PLUS_SITE = $(call github,AsteroidOS,brcm-patchram-plus,$(BRCM_PATCHRAM_PLUS_VERSION))
+BRCM_PATCHRAM_PLUS_LICENSE = src/main.c
+BRCM_PATCHRAM_PLUS_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.14.1
#1 lore raw

PATCH v3 1/1 package/brcm-patchram-plus: Add new package

Vadim, All,

On 2018-12-24 18:12 +0200, Vadim Kochan spake thusly:

Quoted 5 lines

Add tool which allows to setup broadcom bluetooth
device via UART.

[--SNIP--]

Quoted 6 lines
package/brcm-patchram-plus/brcm-patchram-plus.mk new file +0 -0
new file mode 100644
index 0000000000..9f2f8d33ea

package/brcm-patchram-plus/brcm-patchram-plus.mk line 9

Quoted 9 lines
package/brcm-patchram-plus/brcm-patchram-plus.mk new file +9 -0
@@ -0,0 +1,12 @@
+################################################################################
+#
+# brcm-patchram-plus
+#
+################################################################################
+
+BRCM_PATCHRAM_PLUS_VERSION = 94fb127e614b19a9a95561b8c1a0716e2e1e6293
+BRCM_PATCHRAM_PLUS_SITE = $(call github,AsteroidOS,brcm-patchram-plus,$(BRCM_PATCHRAM_PLUS_VERSION))
+BRCM_PATCHRAM_PLUS_LICENSE = src/main.c

No, you read me wrong; I wrote:
BRCM_PATCHRAM_PLUS_LICENSE_FILES = src/main.c

The license line was OK as it was in your previous iteration (except it should have been Apache-2.0, not APACHE-2.0).

Maybe I was not clear enough, sorry... So to be sure there is no confusion, you want to have both lines:

BRCM_PATCHRAM_PLUS_LICENSE = Apache-2.0
BRCM_PATCHRAM_PLUS_LICENSE_FILES = src/main.c

And by the way, you will also need to add a line for src/main.c in the brcm-patchram-plus.has file as well. Run 'make legal-info' to check.

See package/libfm/ for an example.

Regards,
Yann E. MORIN.

Quoted 10 lines
package/brcm-patchram-plus/brcm-patchram-plus.mk new file +3 -0
+BRCM_PATCHRAM_PLUS_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 6 lines
2.14.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'