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') 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