On Wed, Nov 13, 2013 at 5:37 PM, Alexandru Niculita <alexnic...@gmail.com>wrote:
> Change-Id: I68721f30c9551b392d2851a96d9819524a088faf > Signed-off-by: Alexandru Niculita <alexnic...@gmail.com> > --- > 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 > > diff --git a/recipes-bcm/bcm2835/bcm2835_1.32.bb b/recipes-bcm/bcm2835/ > bcm2835_1.32.bb > new file mode 100644 > index 0000000..2dc5b22 > --- /dev/null > +++ b/recipes-bcm/bcm2835/bcm2835_1.32.bb > @@ -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 (mi...@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] = "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 > +} > diff --git a/recipes-bcm/bcm2835/bcm2835_1.9.bb b/recipes-bcm/bcm2835/ > bcm2835_1.9.bb > deleted file mode 100644 > index d6858f4..0000000 > --- a/recipes-bcm/bcm2835/bcm2835_1.9.bb > +++ /dev/null > @@ -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 (mi...@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 > -} > Merged. Thank you Alex. ag
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto