summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-08-27 02:22:01 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-27 02:22:01 +0200
commit5c6a2266ffa6780935959af6c96ffc8dd8e2dc1a (patch)
treee4f4d34833bf62d1fb809d11fb9501e4a962b27b
parenta6a126adf7ad406f06f76aca042cffcf149b1654 (diff)
fixed spid
-rw-r--r--recipes-bsp/esp32spid/esp32spid_0.1.bb7
1 files changed, 5 insertions, 2 deletions
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"