Skip to contentSkip to conversation

c-periphery: add recipe

PATCH In review Joris Offouga 3 participants 3 messages Jun 7, 2020 – Jun 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 c-periphery: add recipe

---
 .../c-periphery/c-periphery_2.2.1.bb          | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb
meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb new file +21 -0
new file mode 100644
index 000000000..b53cd6b19
@@ -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"
+
Signature · 1 line
2.25.1
#1 lore raw
Quoted 12 lines · Joris Offouga
---
 .../c-periphery/c-periphery_2.2.1.bb          | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb
meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb new file +0 -0
new file mode 100644
index 000000000..b53cd6b19

meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb line 2

Quoted 2 lines
meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb new file +2 -0
@@ -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"

libsoc?

If this one gets in, should probably go to recipes-support where libsoc lives...

Quoted 23 lines
meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb new file +18 -0
+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"
+
Signature · 1 line
2.25.1
#2 lore raw
Quoted 19 lines · Denys Dmytriyenko
Quoted 12 lines · Joris Offouga
---
 .../c-periphery/c-periphery_2.2.1.bb          | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb
meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb new file +0 -0
new file mode 100644
index 000000000..b53cd6b19

meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb line 2

Quoted 2 lines
meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb new file +2 -0
@@ -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"

libsoc?

Quoted 2 lines

If this one gets in, should probably go to recipes-support where libsoc lives...

Good feedback. I have added a patch to move it to recipes-support to master-next

Quoted 27 lines
Quoted 25 lines
meta-oe/recipes-devtools/c-periphery/c-periphery_2.2.1.bb new file +18 -1
+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"
+
--

2.25.1