[Buildroot] [PATCH v1] bcm2835: new package

Peter Seiderer ps.report at gmx.net
Tue Dec 8 21:23:44 UTC 2015


Signed-off-by: Peter Seiderer <ps.report at gmx.net>
---
 package/Config.in            |  1 +
 package/bcm2835/Config.in    | 10 ++++++++++
 package/bcm2835/bcm2835.hash |  2 ++
 package/bcm2835/bcm2835.mk   | 13 +++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/bcm2835/Config.in
 create mode 100644 package/bcm2835/bcm2835.hash
 create mode 100644 package/bcm2835/bcm2835.mk

diff --git a/package/Config.in b/package/Config.in
index bdc3063..8bf4048 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -860,6 +860,7 @@ menu "Graphics"
 endmenu
 
 menu "Hardware handling"
+	source "package/bcm2835/Config.in"
 	source "package/c-periphery/Config.in"
 	source "package/ccid/Config.in"
 	source "package/dtc/Config.in"
diff --git a/package/bcm2835/Config.in b/package/bcm2835/Config.in
new file mode 100644
index 0000000..50ec3dd
--- /dev/null
+++ b/package/bcm2835/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_BCM2835
+	bool "bcm2835"
+	help
+	  C library for Broadcom BCM 2835 as used in Raspberry Pi.
+	  It provides access to GPIO and other IO functions on the
+	  Broadcom BCM 2835 chip, allowing access to the GPIO pins
+	  on the 26 pin IDE plug on the RPi board so you can control
+	  and interface with various external devices.
+
+	  http://www.airspayce.com/mikem/bcm2835
diff --git a/package/bcm2835/bcm2835.hash b/package/bcm2835/bcm2835.hash
new file mode 100644
index 0000000..8b725f5
--- /dev/null
+++ b/package/bcm2835/bcm2835.hash
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256 0317e23a29b4a9923c57c1b0fb7403adce10aa05e263af0bc20ffe026f78767c bcm2835-1.48.tar.gz
diff --git a/package/bcm2835/bcm2835.mk b/package/bcm2835/bcm2835.mk
new file mode 100644
index 0000000..28755c3
--- /dev/null
+++ b/package/bcm2835/bcm2835.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# bcm2835
+#
+################################################################################
+
+BCM2835_VERSION = 1.48
+BCM2835_SITE = http://www.airspayce.com/mikem/bcm2835
+BCM2835_LICENSE = GPLv2+
+BCM2835_LICENSE_FILES = COPYING
+BCM2835_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
-- 
2.1.4



More information about the buildroot mailing list