diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-04-20 22:37:29 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-09 08:03:57 +0100 |
commit | 92ba77bea59a33b0ddbd5db36e2a1b42e8fd7190 (patch) | |
tree | cb90b824d97d65d96935221bfab0fb9df5926702 /meta/classes/kernel-yocto.bbclass | |
parent | 52550828662cc430fe4c5273d44c4b818aa21150 (diff) | |
download | openembedded-core-92ba77bea59a33b0ddbd5db36e2a1b42e8fd7190.tar.gz openembedded-core-92ba77bea59a33b0ddbd5db36e2a1b42e8fd7190.tar.bz2 openembedded-core-92ba77bea59a33b0ddbd5db36e2a1b42e8fd7190.zip |
kern-tools: handle directories with, or without, trailing /
Robert P. J. Day reported that configuration fragments and kernel
features were not being found when organized in a particular manner:
linux
- $BOARD
- mm.patch
- mm.scc
- ssd_sil.cfg
- ssd_sil.patch
- ssd_sil.scc
- uio.cfg
.. etc
There was a bug in the tools that did not handle the mix of subdirs
properly and ended up leaving a trailing / on the elements *not* in
the $BOARD subdir. As a result, the configuration fragments were not
properly found when searching the include paths, and a configuration
failure was triggered (due to missing files).
This change tweaks the tools to always check a path with and without
a trailing / when processing config fragments so they can be later
found when processing the configuration of the kernel.
Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
0 files changed, 0 insertions, 0 deletions