c-periphery: add recipe

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Joris Offouga 2020-06-07 18:05:32 +02:00 committed by Khem Raj
parent d85613d8d1
commit bebeebc72c

View File

@ -0,0 +1,21 @@
SUMMURY = "C-Periphery lib used to access GPIO, LED, PWM, SPI, I2C, MMIO, Serial"
DESCRIPTION = "A C library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux"
HOMEPAGE = "https://github.com/vsergeev/c-periphery"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4097ec544cf01e9c7cfc4bdf8e4ed887"
SRC_URI = "git://github.com/vsergeev/c-periphery;protocol=https"
SRCREV = "c2aa7d164f87b807077daeeb3443a56b89e1d1c9"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON"
BBCLASSEXTEND = "native nativesdk"