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 | |
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')
4 files changed, 4 insertions, 4 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 | ||
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc index c4dba1b19c..342067d6c1 100644 --- a/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc +++ b/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | include xorg-driver-common.inc | 1 | require xorg-driver-common.inc |
2 | 2 | ||
3 | DEPENDS += "inputproto kbproto " | 3 | DEPENDS += "inputproto kbproto " |
4 | 4 | ||
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-video.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-video.inc index 38281e0f23..b5862dae10 100644 --- a/meta/recipes-graphics/xorg-driver/xorg-driver-video.inc +++ b/meta/recipes-graphics/xorg-driver/xorg-driver-video.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | include xorg-driver-common.inc | 1 | require xorg-driver-common.inc |
2 | 2 | ||
3 | DEPENDS =+ "renderproto videoproto xextproto fontsproto" | 3 | DEPENDS =+ "renderproto videoproto xextproto fontsproto" |
4 | 4 | ||