summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-09 17:24:19 +0000
committerChris Larson <clarson@kergoth.com>2004-11-09 17:24:19 +0000
commitf451ee6801259337a120ff11a59b54e973eb1518 (patch)
treec6ecd2c0032fdc5ba1b6494c4c121e8330b27842 /conf
parent21fd1c50bea7144b88750c03e920761367a1e142 (diff)
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
Diffstat (limited to 'conf')
-rw-r--r--conf/local.conf.sample10
1 files changed, 10 insertions, 0 deletions
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"