summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd-example
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2024-05-31 11:30:33 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2024-05-31 17:32:46 +0200
commit48fb6ae80a1aa5765ff420877219d8eb35b11396 (patch)
tree0e422642fa0d25006184f51dd9fc4b9f0b0c92b2 /recipes-connectivity/hostapd-example
parent9f699aed67850db573ee3c51de7110fd235084c1 (diff)
recipes: cope with moved directory for unpackHEADmaster
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does it in path defined by the new variable UNPACKDIR. Additionally '${S} = ${WORKDIR}' is no longer allowed and results in a parse time error. Cope with the change so that the layer builds against scarthgap and styhead. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-connectivity/hostapd-example')
-rw-r--r--recipes-connectivity/hostapd-example/hostapd-example.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-connectivity/hostapd-example/hostapd-example.bb b/recipes-connectivity/hostapd-example/hostapd-example.bb
index 17f52e8..62e1bf3 100644
--- a/recipes-connectivity/hostapd-example/hostapd-example.bb
+++ b/recipes-connectivity/hostapd-example/hostapd-example.bb
@@ -6,7 +6,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
RDEPENDS:${PN} = "hostapd"
-S = "${WORKDIR}"
+S = "${@d.getVar("UNPACKDIR") or '${WORKDIR}'}"
SRC_URI = " \
file://enable-wifi.service \