diff options
author | Daniel Stone <[email protected]> | 2017-07-19 09:51:23 +0100 |
---|---|---|
committer | Daniel Stone <[email protected]> | 2017-07-19 13:05:02 +0100 |
commit | 46dace14ff04d59f9f926bdc0f7f76f0620ef18e (patch) | |
tree | 22c8dc4dd29abcdef7f0d9a5822197ab94030411 /src/egl/Makefile.am | |
parent | 2412c4c81ea0488df865817a0de91ec46e359b72 (diff) |
egl: Add MKDIR_GEN definition
Adding linux-dmabuf Wayland protocol files as generated did the right
thing, by prepending $(MKDIR_GEN) so autotools didn't try to write into
a build directory which didn't yet exist.
Unfortunately MKDIR_GEN needs to be defined in every Makefile it's used
in (which we do now), or alternately defined and substituted in
configure.ac (which we don't do), and src/egl/ didn't actually have it
from either method. As unset variables expand to nothing, it was
silently being skipped.
Copy & paste the defintion to make sure drivers/dri2/ exists before we
try to generate files into it.
Signed-off-by: Daniel Stone <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reported-by: Nick Sarnie <[email protected]>
Reported-by: Mike Lothian <[email protected]>
Fixes: 02cc35937277 ("egl/wayland: Use linux-dmabuf interface for buffers")
Diffstat (limited to 'src/egl/Makefile.am')
-rw-r--r-- | src/egl/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am index 19295de3ed6..52ded151452 100644 --- a/src/egl/Makefile.am +++ b/src/egl/Makefile.am @@ -21,6 +21,8 @@ include Makefile.sources +MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D) + BUILT_SOURCES = AM_CFLAGS = \ |