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
# 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"