diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-04-22 17:37:47 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-04-22 17:37:47 +0100 |
commit | 2096c315df2d7d0a8fbf9df1be73f56b834c3340 (patch) | |
tree | 22ba548a4198c26be6644a40d7026a95c4a1bc05 /meta/conf | |
parent | b2a619b79eff718317bec201a37ea5f6f92f6d46 (diff) | |
download | poky-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/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
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" | |||
295 | IMAGE_BASENAME = "${PN}" | 295 | IMAGE_BASENAME = "${PN}" |
296 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" | 296 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" |
297 | IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" | 297 | IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" |
298 | IMAGE_EXTRA_SPACE = 10240 | 298 | IMAGE_EXTRA_SPACE = 40240 |
299 | 299 | ||
300 | IMAGE_CMD = "" | 300 | IMAGE_CMD = "" |
301 | IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}" | 301 | IMAGE_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 | ||
427 | FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2" | 427 | FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types" |
428 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer -g" | 428 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer -g" |
429 | SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" | 429 | SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" |
430 | BUILD_OPTIMIZATION = "-O2" | 430 | BUILD_OPTIMIZATION = "-O2" |