Skip to contentSkip to conversation

bcm2835: Update to version 1.32

PATCH In review Alexandru Niculita 2 participants 2 messages Nov 13, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcm2835: Update to version 1.32

Change-Id I68721f30c9551b392d2851a96d9819524a088faf
---
 recipes-bcm/bcm2835/bcm2835_1.32.bb |   42 ++++++++++++++++++++++++++++++++++
 recipes-bcm/bcm2835/bcm2835_1.9.bb  |   43 -----------------------------------
 2 files changed, 42 insertions(+), 43 deletions(-)
 create mode 100644 recipes-bcm/bcm2835/bcm2835_1.32.bb
 delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.9.bb
recipes-bcm/bcm2835/bcm2835_1.32.bb new file +42 -0
new file mode 100644
index 0000000..2dc5b22
@@ -0,0 +1,42 @@
+DESCRIPTION = "Package that 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"
+SECTION = "base"
+HOMEPAGE = "http://www.open.com.au/mikem/bcm2835"
+AUTHOR = "Mike McCauley ([email protected])"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRC_URI = "http://www.open.com.au/mikem/bcm2835/bcm2835-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "085239569554de5ee6649fe8bb123379"
+SRC_URI[sha256sum] = "97e8aece4ff45b1779212473aa3b1d3f43cc9a8427afa3be718f690949e0ec20"
+
+
+PACKAGES += "${PN}-tests"
+
+FILES_${PN} = ""
+FILES_${PN}-tests = "${libdir}/${BPN}"
+FILES_${PN}-dbg += "${libdir}/${BPN}/.debug"
+
+inherit autotools
+
+do_compile_append() {
+    #Now compiling the examples provided by the package
+    for file in examples/*
+    do
+        ${CC} ${file}/${file##*/}.c -o ${file}/${file##*/} -Bstatic -L${S}/src -lbcm2835 -I${S}/src
+    done
+}
+
+do_install_append() {
+    install -d ${D}/${libdir}/${BPN}
+    for file in examples/*
+    do
+        install -m 0755 ${file}/${file##*/} ${D}/${libdir}/${BPN}
+    done
+}
recipes-bcm/bcm2835/bcm2835_1.9.bb deleted +0 -43

43 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 105 lines · Alexandru Niculita
Change-Id I68721f30c9551b392d2851a96d9819524a088faf
---
 recipes-bcm/bcm2835/bcm2835_1.32.bb |   42
++++++++++++++++++++++++++++++++++
 recipes-bcm/bcm2835/bcm2835_1.9.bb  |   43
-----------------------------------
 2 files changed, 42 insertions(+), 43 deletions(-)
 create mode 100644 recipes-bcm/bcm2835/bcm2835_1.32.bb
 delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.9.bb
recipes-bcm/bcm2835/ renamed from recipes-bcm/bcm2835/bcm2835_1.32.bb +0 -0

bcm2835_1.32.bb
new file mode 100644
index 0000000..2dc5b22

recipes-bcm/bcm2835/bcm2835_1.32.bb new file +17 -0
@@ -0,0 +1,42 @@
+DESCRIPTION = "Package that 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"
+SECTION = "base"
+HOMEPAGE = "http://www.open.com.au/mikem/bcm2835"
+AUTHOR = "Mike McCauley ([email protected])"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRC_URI = "http://www.open.com.au/mikem/bcm2835/bcm2835-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "085239569554de5ee6649fe8bb123379"
+SRC_URI[sha256sum] =

"97e8aece4ff45b1779212473aa3b1d3f43cc9a8427afa3be718f690949e0ec20"

recipes-bcm/bcm2835/bcm2835_1.32.bb new file +25 -1
+
+
+PACKAGES += "${PN}-tests"
+
+FILES_${PN} = ""
+FILES_${PN}-tests = "${libdir}/${BPN}"
+FILES_${PN}-dbg += "${libdir}/${BPN}/.debug"
+
+inherit autotools
+
+do_compile_append() {
+    #Now compiling the examples provided by the package
+    for file in examples/*
+    do
+        ${CC} ${file}/${file##*/}.c -o ${file}/${file##*/} -Bstatic
-L${S}/src -lbcm2835 -I${S}/src
+    done
+}
+
+do_install_append() {
+    install -d ${D}/${libdir}/${BPN}
+    for file in examples/*
+    do
+        install -m 0755 ${file}/${file##*/} ${D}/${libdir}/${BPN}
+    done
+}
recipes-bcm/bcm2835/ renamed from recipes-bcm/bcm2835/bcm2835_1.9.bb +0 -0

bcm2835_1.9.bb
deleted file mode 100644
index d6858f4..0000000

recipes-bcm/bcm2835/bcm2835_1.9.bb deleted +0 -18
@@ -1,43 +0,0 @@
-DESCRIPTION = "Package that 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"
-SECTION = "base"
-HOMEPAGE = "http://www.open.com.au/mikem/bcm2835"
-AUTHOR = "Mike McCauley ([email protected])"
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-PR = "r0"
-
-COMPATIBLE_MACHINE = "raspberrypi"
-
-SRC_URI = "http://www.open.com.au/mikem/bcm2835/bcm2835-1.9.tar.gz"
-
-SRC_URI[md5sum] = "c102938afe9f0cfa930a0255c422f792"
-SRC_URI[sha256sum] =

"0dc6ee5a261e76b103a04534c1b8ebc20dce8921dec2452785100812f978c883"

recipes-bcm/bcm2835/bcm2835_1.9.bb deleted +0 -16
-
-
-PACKAGES += "${PN}-tests"
-
-FILES_${PN} = ""
-FILES_${PN}-tests = "${libdir}/${BPN}"
-FILES_${PN}-dbg += "${libdir}/${BPN}/.debug"
-
-inherit autotools
-
-do_compile_append() {
-    #Now compiling the examples provided by the package
-    for file in examples/*
-    do
-        ${CC} ${file}/${file##*/}.c -o ${file}/${file##*/} -Bstatic
-L${S}/src -lbcm2835 -I${S}/src

recipes-bcm/bcm2835/bcm2835_1.9.bb line 43

Quoted 10 lines
recipes-bcm/bcm2835/bcm2835_1.9.bb deleted +0 -10
-    done
-}
-
-do_install_append() {
-    install -d ${D}/${libdir}/${BPN}
-    for file in examples/*
-    do
-        install -m 0755 ${file}/${file##*/} ${D}/${libdir}/${BPN}
-    done
-}

Merged. Thank you Alex.

ag