-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1810 from nxp-upstream/waffle
Revert "waffle: Fix broken patches"
- Loading branch information
Showing
2 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,25 +14,27 @@ Signed-off-by: Tom Hochstein <[email protected]> | |
meson.build | 5 ++++- | ||
1 file changed, 4 insertions(+), 1 deletion(-) | ||
|
||
Index: git/meson.build | ||
=================================================================== | ||
--- git.orig/meson.build | ||
+++ git/meson.build | ||
@@ -72,6 +72,7 @@ dep_gbm = _dep_null | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -72,6 +72,7 @@ dep_udev = _dep_null | ||
dep_cocoa = _dep_null | ||
dep_core_foundation = _dep_null | ||
dep_gl_headers = _dep_null | ||
+dep_surfaceless = _dep_null | ||
|
||
# Get dependencies | ||
if build_wgl | ||
@@ -99,7 +100,8 @@ else | ||
build_gbm = dep_drm.found() and dep_egl.found() and dep_gbm.found() | ||
@@ -96,10 +97,11 @@ else | ||
dep_egl = dependency('egl', required : get_option('gbm')) | ||
dep_gbm = dependency('gbm', required : get_option('gbm')) | ||
dep_udev = dependency('libudev', required : get_option('gbm')) | ||
+ dep_surfaceless_egl = dependency('egl', required : get_option('surfaceless_egl')) | ||
+ dep_surfaceless_gbm = dependency('gbm', required : get_option('surfaceless_egl')) | ||
build_gbm = dep_egl.found() and dep_gbm.found() and dep_udev.found() | ||
|
||
dep_egl = dependency('egl', required : get_option('surfaceless_egl')) | ||
- dep_egl = dependency('egl', required : get_option('surfaceless_egl')) | ||
- build_surfaceless = dep_egl.found() | ||
+ dep_gbm = dependency('gbm', required : get_option('surfaceless_egl')) | ||
+ build_surfaceless = dep_egl.found() and dep_gbm.found() | ||
+ build_surfaceless = dep_surfaceless_egl.found() and dep_surfaceless_gbm.found() | ||
|
||
dep_egl = dependency('egl', required : get_option('wayland')) | ||
dep_wayland_client = dependency( |