From da3e1574084a2e64939ebf629f5c6fdf3211e7d2 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Sun, 19 Jan 2014 20:28:39 +0200 Subject: bcm2835: Update to v1.36 Change-Id: I8b55d7233919b6ebe68b9504eb2504bedb1846e1 Signed-off-by: Andrei Gherzan --- recipes-bcm/bcm2835/bcm2835_1.34.bb | 41 ------------------------------------- recipes-bcm/bcm2835/bcm2835_1.36.bb | 41 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.34.bb create mode 100644 recipes-bcm/bcm2835/bcm2835_1.36.bb diff --git a/recipes-bcm/bcm2835/bcm2835_1.34.bb b/recipes-bcm/bcm2835/bcm2835_1.34.bb deleted file mode 100644 index 8ff2bdd..0000000 --- a/recipes-bcm/bcm2835/bcm2835_1.34.bb +++ /dev/null @@ -1,41 +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@open.com.au)" - -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] = "35df4a6188e36796a07985f1561fb8a2" -SRC_URI[sha256sum] = "ea99538ea17ebed38973743d84b1358e8c0fd311e8828c4ef91694f65a1073ff" - -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.36.bb b/recipes-bcm/bcm2835/bcm2835_1.36.bb new file mode 100644 index 0000000..b5d9992 --- /dev/null +++ b/recipes-bcm/bcm2835/bcm2835_1.36.bb @@ -0,0 +1,41 @@ +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@open.com.au)" + +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] = "3299ddaef60f80b7f85de3318f08dee7" +SRC_URI[sha256sum] = "b4dfcdb453d44ba9ff55634ce7e0ddca21b96355ab61e40b4c3afb9406d4b8d2" + +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 +} -- cgit v1.2.3-54-g00ecf