summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-04-22 17:37:47 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-04-22 17:37:47 +0100
commit2096c315df2d7d0a8fbf9df1be73f56b834c3340 (patch)
tree22ba548a4198c26be6644a40d7026a95c4a1bc05 /meta
parentb2a619b79eff718317bec201a37ea5f6f92f6d46 (diff)
downloadpoky-2096c315df2d7d0a8fbf9df1be73f56b834c3340.tar.gz
bitbake.conf: Always add full debug information and increase the default image slack space
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 692d9b1622..7f0da1b965 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -295,7 +295,7 @@ IMAGE_ROOTFS = "${TMPDIR}/rootfs"
295IMAGE_BASENAME = "${PN}" 295IMAGE_BASENAME = "${PN}"
296IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" 296IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
297IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" 297IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
298IMAGE_EXTRA_SPACE = 10240 298IMAGE_EXTRA_SPACE = 40240
299 299
300IMAGE_CMD = "" 300IMAGE_CMD = ""
301IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}" 301IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}"
@@ -424,7 +424,7 @@ EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} "
424# Optimization flags. 424# Optimization flags.
425################################################################## 425##################################################################
426 426
427FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2" 427FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types"
428DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer -g" 428DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer -g"
429SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" 429SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}"
430BUILD_OPTIMIZATION = "-O2" 430BUILD_OPTIMIZATION = "-O2"