[yocto] Build yocto debug images

Allan Nielsen anielsen at vitesse.com
Tue Jul 30 02:54:40 PDT 2013


Hi,

I'm new to Yocto and I'm trying to build a debug image.

My image recipe looks like this:

IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} u-boot webstax3 vtss-uio-mod"
IMAGE_LINGUAS = " "

LICENSE = "MIT"

inherit core-image

DEBUG_BUILD = "1"

DEBUG_FLAGS = "-ggdb3 -O0 -fno-omit-frame-pointer"
DEBUG_OPTIMIZATION = "-ggdb3 -O0 -fno-omit-frame-pointer"

IMAGE_ROOTFS_SIZE = "16384"
IMAGE_FEATURES = "debug-tweaks tools-debug dbg-pkgs"

# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "

IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot"


But when I inspect the build logs of my packets I see that they have not been build with "-ggdb3 -O0 -fno-omit-frame-pointer"

So, please advice me on how to do this.

Best regards
Allan W. Nielsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130730/4a51fabf/attachment.html>


More information about the yocto mailing list