diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-09-04 15:52:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-10 15:38:54 +0100 |
commit | 5e1854957455131053ec7de5c98c330b97493452 (patch) | |
tree | 2dcad704bb85c637e6e695e149168569726f5d37 /meta/conf | |
parent | 3a7769329e6684b13568c93bc8dd9d7bb9261ec9 (diff) | |
download | poky-5e1854957455131053ec7de5c98c330b97493452.tar.gz |
bitbake.conf: use ??= for 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.
(From OE-Core rev: 18f499df6bcbf79d7bd0a99c4c8693268683485f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
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}" | |||
689 | # The size in Kbytes for the generated image if it is larger than | 689 | # The size in Kbytes for the generated image if it is larger than |
690 | # the required size (du -ks IMAGE_ROOTFS * IMAGE_OVERHEAD_FACTOR), | 690 | # the required size (du -ks IMAGE_ROOTFS * IMAGE_OVERHEAD_FACTOR), |
691 | # and no effect if less than it. | 691 | # and no effect if less than it. |
692 | IMAGE_ROOTFS_SIZE ?= "65536" | 692 | IMAGE_ROOTFS_SIZE ??= "65536" |
693 | 693 | ||
694 | # Forcefully set CACHE now so future changes to things like | 694 | # Forcefully set CACHE now so future changes to things like |
695 | # MACHINE don't change the path to the cache | 695 | # MACHINE don't change the path to the cache |