diff options
Diffstat (limited to 'recipes-bsp/esp32spid/esp32spid_0.1.bb')
-rw-r--r-- | recipes-bsp/esp32spid/esp32spid_0.1.bb | 7 |
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" |