[yocto] [meta-raspberrypi][PATCH 08/11] bcm2835: Update to v1.9
Andrei Gherzan
andrei at gherzan.ro
Tue Aug 20 10:02:35 PDT 2013
Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
---
recipes-bcm/bcm2835/bcm2835_1.8.bb | 42 -----------------------------------
recipes-bcm/bcm2835/bcm2835_1.9.bb | 43 ++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 42 deletions(-)
delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.8.bb
create mode 100644 recipes-bcm/bcm2835/bcm2835_1.9.bb
diff --git a/recipes-bcm/bcm2835/bcm2835_1.8.bb b/recipes-bcm/bcm2835/bcm2835_1.8.bb
deleted file mode 100644
index 40f9be5..0000000
--- a/recipes-bcm/bcm2835/bcm2835_1.8.bb
+++ /dev/null
@@ -1,42 +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 (mikem at open.com.au)"
-
-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.8.tar.gz"
-
-SRC_URI[md5sum] = "cca8500049d4ebf9087de4bd1601d185"
-SRC_URI[sha256sum] = "64be77b10aaf48ecb2a9022e13057f3b564093916875c0fc56373b4142dd5cae"
-
-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
-}
diff --git a/recipes-bcm/bcm2835/bcm2835_1.9.bb b/recipes-bcm/bcm2835/bcm2835_1.9.bb
new file mode 100644
index 0000000..d6858f4
--- /dev/null
+++ b/recipes-bcm/bcm2835/bcm2835_1.9.bb
@@ -0,0 +1,43 @@
+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 (mikem at open.com.au)"
+
+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"
+
+
+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
+}
--
1.7.9.5
More information about the yocto
mailing list