From 6c4998209307cd84982bf056fafa3a3135667bb2 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:01:29 +0200 Subject: added esp32 spi daemon --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes-bsp/esp32spid/esp32spid_0.1.bb (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb new file mode 100644 index 0000000..6a580a0 --- /dev/null +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "esp32 spi daemon" +SECTION = "base" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = + file://${WORKDIR}/src/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" +PR = "r0" + +SRC_URI = " \ + file://src/ \ +" + +do_compile () { + cd ${WORKDIR}/src + ${MAKE} +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 ${WORKDIR}//src/esp32spid ${D}${bindir}/ +} + +DEPENDS = "libgpiod-dev" +RDEPENDS_${PN} = "libgpiod" \ No newline at end of file -- cgit v1.2.3 From dde78539f74b127bc763fa998ec538cfb819bdad Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:04:33 +0200 Subject: fixed spid --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb index 6a580a0..10c6798 100644 --- a/recipes-bsp/esp32spid/esp32spid_0.1.bb +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -16,7 +16,7 @@ do_compile () { do_install () { install -d ${D}${bindir} - install -m 0755 ${WORKDIR}//src/esp32spid ${D}${bindir}/ + install -m 0755 ${WORKDIR}/src/esp32spid ${D}${bindir}/ } DEPENDS = "libgpiod-dev" -- cgit v1.2.3 From 744558a1fa73d7ea860e26bf51e17534d94170db Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:06:07 +0200 Subject: fixed spid --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb index 10c6798..8e41d34 100644 --- a/recipes-bsp/esp32spid/esp32spid_0.1.bb +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -1,8 +1,7 @@ DESCRIPTION = "esp32 spi daemon" SECTION = "base" LICENSE = "GPLv2" -LIC_FILES_CHKSUM = - file://${WORKDIR}/src/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" +LIC_FILES_CHKSUM = file://${WORKDIR}/src/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" PR = "r0" SRC_URI = " \ -- cgit v1.2.3 From fc8eb0aba1641c19a8feabe013d6c579b5bd3e50 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:07:01 +0200 Subject: fixed spid --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb index 8e41d34..b43c819 100644 --- a/recipes-bsp/esp32spid/esp32spid_0.1.bb +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -1,7 +1,7 @@ DESCRIPTION = "esp32 spi daemon" SECTION = "base" LICENSE = "GPLv2" -LIC_FILES_CHKSUM = file://${WORKDIR}/src/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" +LIC_FILES_CHKSUM = "file://${WORKDIR}/src/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" PR = "r0" SRC_URI = " \ -- cgit v1.2.3 From 142ee0b74e4fd0f82482013886b0263af9f1e008 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:08:23 +0200 Subject: fixed spid --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 1 - 1 file changed, 1 deletion(-) (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb index b43c819..77a4afa 100644 --- a/recipes-bsp/esp32spid/esp32spid_0.1.bb +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -18,5 +18,4 @@ do_install () { install -m 0755 ${WORKDIR}/src/esp32spid ${D}${bindir}/ } -DEPENDS = "libgpiod-dev" RDEPENDS_${PN} = "libgpiod" \ No newline at end of file -- cgit v1.2.3 From a78bc57e3d645a9e4ca248e71debb9179920f76b Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:10:06 +0200 Subject: fixed spid --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb index 77a4afa..86f17f0 100644 --- a/recipes-bsp/esp32spid/esp32spid_0.1.bb +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -1,7 +1,7 @@ DESCRIPTION = "esp32 spi daemon" SECTION = "base" LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://${WORKDIR}/src/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" +LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" PR = "r0" SRC_URI = " \ -- cgit v1.2.3 From 216be4bf2c52bf9aba2d2aaf381f42d505336af4 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:10:55 +0200 Subject: fixed spid --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb index 86f17f0..1f8ea42 100644 --- a/recipes-bsp/esp32spid/esp32spid_0.1.bb +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -6,6 +6,7 @@ PR = "r0" SRC_URI = " \ file://src/ \ + file://LICENSE \ " do_compile () { -- cgit v1.2.3 From 366ca894ce5cb2e240d7e851892b3862b5d57000 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:14:41 +0200 Subject: fixed spid --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb index 1f8ea42..72351a8 100644 --- a/recipes-bsp/esp32spid/esp32spid_0.1.bb +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -4,6 +4,8 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" PR = "r0" +FILESEXTRAPATHS_prepend := "${THISDIR}:" + SRC_URI = " \ file://src/ \ file://LICENSE \ -- cgit v1.2.3 From a6a126adf7ad406f06f76aca042cffcf149b1654 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:15:48 +0200 Subject: fixed spid --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb index 72351a8..4f82562 100644 --- a/recipes-bsp/esp32spid/esp32spid_0.1.bb +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -21,4 +21,5 @@ do_install () { install -m 0755 ${WORKDIR}/src/esp32spid ${D}${bindir}/ } +DEPENDS = "libgpiod" RDEPENDS_${PN} = "libgpiod" \ No newline at end of file -- cgit v1.2.3 From 5c6a2266ffa6780935959af6c96ffc8dd8e2dc1a Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 27 Aug 2021 02:22:01 +0200 Subject: fixed spid --- recipes-bsp/esp32spid/esp32spid_0.1.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb') diff --git a/recipes-bsp/esp32spid/esp32spid_0.1.bb b/recipes-bsp/esp32spid/esp32spid_0.1.bb index 4f82562..f403c5b 100644 --- a/recipes-bsp/esp32spid/esp32spid_0.1.bb +++ b/recipes-bsp/esp32spid/esp32spid_0.1.bb @@ -11,14 +11,17 @@ SRC_URI = " \ file://LICENSE \ " +S = "${WORKDIR}/src" +TARGET_CC_ARCH += "${LDFLAGS}" + do_compile () { - cd ${WORKDIR}/src + cd ${S} ${MAKE} } do_install () { install -d ${D}${bindir} - install -m 0755 ${WORKDIR}/src/esp32spid ${D}${bindir}/ + install -m 0755 ${S}/esp32spid ${D}${bindir}/ } DEPENDS = "libgpiod" -- cgit v1.2.3