diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2015-04-29 13:39:10 +0800 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2015-05-12 14:17:00 +0800 |
commit | 3b8fb9213491e3563be55245dc62f95aed82b491 (patch) | |
tree | 6a2a15cd0335e18b190d611e8b14ed3b20e044c7 /meta/recipes-devtools/gcc/gcc-common.inc | |
parent | 3030d69a4aa172f6af394a142075414bba95e61d (diff) | |
download | openembedded-core-contrib-ChenQi/populate_sdk_ext_2_fixes.tar.gz |
populate_sdk_ext: consider custom configuration in local.confChenQi/populate_sdk_ext_2_fixes
Copy the contents of local.conf under TOPDIR into the final generated
local.conf. In this way, custom settings are also made into the final
local.conf like IMAGE_INSTALL, DISTRO_FEATURES, VIRTUAL-RUNTIME_xxx, etc.
Before this change, installing extensible SDK would usually report failure
when preparing the build system if the user has custom configuration for
DISTRO_FEATURES in local.conf. Also, items in IMAGE_INSTALL_append in local.conf
also don't get built correctly.
This patch solves the above problem.
A blacklist mechanism is also introduced so that we can blacklist variables that
should not be copied into the final local.conf file. Currently, the blacklist
contains 'TMPDIR', 'SSTATE_DIR', 'DL_DIR', 'STAMPS_DIR', 'BASE_WORKDIR' and
'DEPLOY_DIR'. What these variables have in common is that they are set in
bitbake.conf using '?=' or '??='.
In addition, we check to avoid any setting that might lead to host path
bleeding into SDK's configuration.
[YOCTO #7616]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
0 files changed, 0 insertions, 0 deletions