yocto-kernel: create open_user_file() wrapper function
authorTom Zanussi <tom.zanussi@intel.com>
Thu, 13 Dec 2012 04:56:36 +0000 (22:56 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Dec 2012 16:54:33 +0000 (16:54 +0000)
commit60e770140339e75108cf8920eef55fdc6482b99e
treeaa3cdc4f266369c87ddeba901f3fb2b26dfc4921
parentc2dc8e062f44e4527b766561b359dd8a32ead29c
yocto-kernel: create open_user_file() wrapper function

With the addition of custom kernels, we can no longer rely on a
hard-coded /files directory for BSPs - we need to be able to find the
user_config/patches files in a number of different directories.

We now hide the search inside a new open_user_file() function that
accomplishes the same thing as before but with a more flexible scope.

(From meta-yocto rev: 26a7032553e8d8691239368f0f994f948db06eed)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/bsp/kernel.py