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-17 20:53:36 +0100 |
commit | f9112992958b32a3223c054356ab7d7e2568c8ae (patch) | |
tree | cab164b899185d61b9ad3fb09bc0bc5ba79030e3 /meta/recipes-kernel/sysprof | |
parent | 67454487bedf69488bfa4ab7b76f1482b61fa927 (diff) | |
download | poky-f9112992958b32a3223c054356ab7d7e2568c8ae.tar.gz |
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>
(From OE-Core rev: 92ba77bea59a33b0ddbd5db36e2a1b42e8fd7190)
(From OE-Core rev: 552e0a88a5e666396f0464fa99c953b4759aa35d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/sysprof')
0 files changed, 0 insertions, 0 deletions