mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
Move classes to classes-global or classes-recipe as appropriate to take advantage of new bitbake functionality to check class scope/usage. (From OE-Core rev: f5c128008365e141082c129417eb72d2751e8045) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
446 B
Plaintext
16 lines
446 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
IMAGE_PREPROCESS_COMMAND:append = " combine_dbg_image; "
|
|
|
|
combine_dbg_image () {
|
|
if [ "${IMAGE_GEN_DEBUGFS}" = "1" -a -e ${IMAGE_ROOTFS}-dbg ]; then
|
|
# copy target files into -dbg rootfs, so it can be used for
|
|
# debug purposes directly
|
|
tar -C ${IMAGE_ROOTFS} -cf - . | tar -C ${IMAGE_ROOTFS}-dbg -xf -
|
|
fi
|
|
}
|