aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-09-04 15:52:44 +0800
committerChen Qi <Qi.Chen@windriver.com>2014-09-04 15:59:12 +0800
commit900fdb3bbab2f4afa935b97d5e5ffe20ec4345ec (patch)
tree51efb7a511334502c08b6d5468d2e68ba418b639
parent4c0a9ccbad2889b27b4b1d2ab91215a4bdcca3ce (diff)
downloadopenembedded-core-contrib-ChenQi/IMAGE_ROOTFS_SIZE.tar.gz
bitbake.conf: use ??= for IMAGE_ROOTFS_SIZEChenQi/IMAGE_ROOTFS_SIZE
Previously, when building core-image-minimal, the rootfs size would default to 64M because we use '?=' in bitbake.conf and also '?=' in core-image-minimal.bb. The thing is, we'd like to have a default value for all images set in bitbake.conf but still allow each image recipe to set its own default value which could be overridden by users in local.conf. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2771233e3e..468b175edc 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -689,7 +689,7 @@ MACHINE_TASK_PROVIDER ?= "${DEFAULT_TASK_PROVIDER}"
# The size in Kbytes for the generated image if it is larger than
# the required size (du -ks IMAGE_ROOTFS * IMAGE_OVERHEAD_FACTOR),
# and no effect if less than it.
-IMAGE_ROOTFS_SIZE ?= "65536"
+IMAGE_ROOTFS_SIZE ??= "65536"
# Forcefully set CACHE now so future changes to things like
# MACHINE don't change the path to the cache