diff options
author | Herve Jourdain <herve.jourdain@neuf.fr> | 2016-05-18 20:33:37 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-20 10:20:55 +0100 |
commit | 599933cfe19dbe746ec0fd8be976a1682d5aef82 (patch) | |
tree | c9882d273ecec5c262a0aadb269318656501c7db /meta/recipes-support/attr | |
parent | 70b0e62af991089b6c0b2218512240940ca80f3e (diff) | |
download | poky-599933cfe19dbe746ec0fd8be976a1682d5aef82.tar.gz |
mesa: fix mesa_populate_packages() when dri is disabled
When compiling mesa, if dri is disabled in PACKAGECONFIG, or if the list of DRI
drivers is empty, it will cause populate_package to fail, because it can't find
- rightfully - the directory for the DRI drivers. This patch checks that the
directory indeed exists before trying to get a list of the files in it
[ use oe.path.join instead of + - RB ]
(From OE-Core rev: 7e96806d1282865761fcc047abcb72970279d82d)
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/attr')
0 files changed, 0 insertions, 0 deletions