diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-12-22 16:13:56 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-09 13:39:11 +0000 |
commit | 32da05fa8ff6bd713fbf691bc549857aa0737553 (patch) | |
tree | b949aa8cfd47ce94b98b091caf1becedd5710657 /meta/recipes-graphics/eglinfo | |
parent | be3c48f607cc5fca9ab98d5c4602155462c8b718 (diff) | |
download | poky-32da05fa8ff6bd713fbf691bc549857aa0737553.tar.gz |
meta: use require instead of include when file should exist
If the file is expected to exist, then we should always be using require
so that if it doesn't we get an error rather than some other more
obscure failure later on.
(From OE-Core rev: 603ae6eb487489e65da69c68e532cb767ccc1fc2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/eglinfo')
-rw-r--r-- | meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.0.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb index 455d31e872..dc2820cda7 100644 --- a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb +++ b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | EGLINFO_PLATFORM ?= "fb" | 1 | EGLINFO_PLATFORM ?= "fb" |
2 | EGLINFO_BINARY_NAME ?= "eglinfo-fb" | 2 | EGLINFO_BINARY_NAME ?= "eglinfo-fb" |
3 | 3 | ||
4 | include eglinfo.inc | 4 | require eglinfo.inc |
5 | 5 | ||
6 | SUMMARY += "(Framebuffer version)" | 6 | SUMMARY += "(Framebuffer version)" |
diff --git a/meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.0.bb b/meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.0.bb index db00f76e90..48ab8805d8 100644 --- a/meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.0.bb +++ b/meta/recipes-graphics/eglinfo/eglinfo-x11_1.0.0.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | EGLINFO_PLATFORM ?= "x11" | 1 | EGLINFO_PLATFORM ?= "x11" |
2 | EGLINFO_BINARY_NAME ?= "eglinfo-x11" | 2 | EGLINFO_BINARY_NAME ?= "eglinfo-x11" |
3 | 3 | ||
4 | include eglinfo.inc | 4 | require eglinfo.inc |
5 | 5 | ||
6 | DEPENDS += "virtual/libx11" | 6 | DEPENDS += "virtual/libx11" |
7 | 7 | ||