Skip to content

Commit

Permalink
dt-utils: provide application-specific debug packages
Browse files Browse the repository at this point in the history
Puts the application-specific debug symbols into application-specific
-dbg packages.

This prevents potential debug symbol collisions with 'dtc' which
provides symbols for its version of fdtdump in 'dtc-dbg'.

Signed-off-by: Enrico Jörns <[email protected]>
  • Loading branch information
ejoerns committed Sep 16, 2024
1 parent 408a0e2 commit 4b71b6f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion recipes-bsp/dt-utils/dt-utils_2023.11.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,18 @@ SRC_URI[sha256sum] = "d224d941c076c143f43d59cd7c6e1c522926064a31ac34a67720632dde

inherit autotools pkgconfig gettext

PACKAGES =+ "${PN}-barebox-state ${PN}-fdtdump ${PN}-dtblint"
NOAUTOPACKAGEDEBUG = "1"

FILES:${PN}-dbg = "${libdir}/.debug/"

PACKAGES =+ "${PN}-barebox-state ${PN}-barebox-state-dbg"
FILES:${PN}-barebox-state = "${bindir}/barebox-state"
FILES:${PN}-barebox-state-dbg = "${bindir}/.debug/barebox-state"

PACKAGES =+ "${PN}-fdtdump ${PN}-fdtdump-dbg"
FILES:${PN}-fdtdump = "${bindir}/fdtdump"
FILES:${PN}-fdtdump-dbg = "${bindir}/.debug/fdtdump"

PACKAGES =+ "${PN}-dtblint ${PN}-dtblint-dbg"
FILES:${PN}-dtblint = "${bindir}/dtblint"
FILES:${PN}-dtblint-dbg = "${bindir}/.debug/dtblint"

0 comments on commit 4b71b6f

Please sign in to comment.