egl: Add MKDIR_GEN definition

Graphics / Mesa 3D Graphics Library / Mesa - Daniel Stone [] - 19 July 2017 08:05 EDT

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 (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.

46dace1 egl: Add MKDIR_GEN definition
src/egl/ | 2 ++
1 file changed, 2 insertions(+)


  • Share