diff options
author | Shane Wang <shane.wang@intel.com> | 2012-04-15 02:58:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-14 23:48:48 +0100 |
commit | 62c908c88b342370d2e179953c9e07094a6060b5 (patch) | |
tree | 7c5bbf21712252aa1c8ab400b19f4e4c69fd5852 /scripts/lib/bsp/substrate | |
parent | 58544debd52f8d6fb40959af88ebc545aba1bce1 (diff) | |
download | poky-62c908c88b342370d2e179953c9e07094a6060b5.tar.gz |
Hob: remember layers and settings between Hob sessions
This patch is to remember layers and settings between Hob sessions, which
includes:
- Put some variables for the build details screen from Configuration to
Parameters because they are not actually for build but for show
- We create a dummy Configuration instance and a dummy Parameters instance
in __init__ of builder
- The two instances will be assigned the real values by
update_configuration_parameters() after parsing (in the event callback)
- When it is the first time to launch Hob in a build directory, nothing is
remembered since everything is fresh.
- The feature is implemented with templates, and based on the hook for Hob.
- When the user changes the layers or the settings, a default template file
is saved into ".hob/".
- Later on, the layers and the settings are remembered by loading the default
template automatically.
(Bitbake rev: f7c874ab930b9e7f95e79d0e84e62eb9b967f566)
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp/substrate')
0 files changed, 0 insertions, 0 deletions