From: Chris Larson Date: Tue, 9 Nov 2004 17:24:19 +0000 (+0000) Subject: Merge openembedded@openembedded.bkbits.net:packages-devel X-Git-Tag: Release-2010-05/1~16339 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f451ee6801259337a120ff11a59b54e973eb1518;p=openembedded.git Merge openembedded@openembedded.bkbits.net:packages-devel into handhelds.org:/home/kergoth/code/packages 2004/11/09 11:20:32-06:00 handhelds.org!kergoth Add a few commented out lines to the sample local.conf, so that people know how to build a package for use with gprof. BKrev: 4190fd43G6JHKkT9a9q13TmJl_mWlA --- diff --git a/conf/local.conf.sample b/conf/local.conf.sample index 9e61c9fc68..e161a7acf9 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample @@ -113,6 +113,16 @@ PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" # DEBUG_BUILD = "1" # INHIBIT_PACKAGE_STRIP = "1" +# Uncomment these to build a package such that you can use gprof to profile it. +# NOTE: This will only work with 'linux' targets, not +# 'linux-uclibc', as uClibc doesn't provide the necessary +# object files. Also, don't build glibc itself with these +# flags, or it'll fail to build. +# +# PROFILE_OPTIMIZATION = "-pg" +# SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}" +# LDFLAGS =+ "-pg" + # Uncomment this if you want OE to emit the log if a build fails. OEINCLUDELOGS = "yes"