Skip to content

Commit

Permalink
meta-lxatac-software: classes: panel-mipi-dbi: compile to B not WORKDIR
Browse files Browse the repository at this point in the history
According to the Variable glossary[1] `B` is:

  The directory within the Build Directory in which the OpenEmbedded build
  system places generated objects during a recipe’s build process.

[1]: https://docs.yoctoproject.org/ref-manual/variables.html#term-B

Signed-off-by: Leonard Göhrs <[email protected]>
  • Loading branch information
hnez committed Nov 1, 2024
1 parent 3c816d3 commit 294afc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meta-lxatac-software/classes/panel-mipi-dbi.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ do_configure[noexec] = "1"

do_compile () {
mipi-dbi-cmd \
"${WORKDIR}/${PANEL_FIRMWARE_BIN}" \
"${B}/${PANEL_FIRMWARE_BIN}" \
"${WORKDIR}/${PANEL_FIRMWARE}"
}

do_install () {
install -m 0644 -D \
"${WORKDIR}/${PANEL_FIRMWARE_BIN}" \
"${B}/${PANEL_FIRMWARE_BIN}" \
"${D}${nonarch_base_libdir}/firmware/${PANEL_FIRMWARE_BIN}"
}

Expand Down

0 comments on commit 294afc7

Please sign in to comment.