diff options
| author | Max Krummenacher <max.krummenacher@toradex.com> | 2024-05-31 11:39:27 +0200 |
|---|---|---|
| committer | Max Krummenacher <max.krummenacher@toradex.com> | 2024-06-10 13:09:48 +0200 |
| commit | 259e633b6bb92d54dc4c298d487c9037456be869 (patch) | |
| tree | 3d87b1bac7fd03d4fd3bffd948b68aaa5e2e116d | |
| parent | f14b98b99ce1ddc6bdd6a1a9e6e017705054d8d9 (diff) | |
btnxpuartconf: cope with moved directory for unpack
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>
| -rw-r--r-- | recipes-bsp/btnxpuartconf/btnxpuartconf_1.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-bsp/btnxpuartconf/btnxpuartconf_1.0.bb b/recipes-bsp/btnxpuartconf/btnxpuartconf_1.0.bb index c5f9adf..9280947 100644 --- a/recipes-bsp/btnxpuartconf/btnxpuartconf_1.0.bb +++ b/recipes-bsp/btnxpuartconf/btnxpuartconf_1.0.bb @@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda SRC_URI = "file://btnxpuart.conf" +S = "${@d.getVar("UNPACKDIR") or '${WORKDIR}'}" + do_install () { install -d ${D}/etc/modprobe.d/ - install -m 0755 ${WORKDIR}/btnxpuart.conf ${D}/etc/modprobe.d/btnxpuart.conf + install -m 0755 ${S}/btnxpuart.conf ${D}/etc/modprobe.d/btnxpuart.conf } |
