[Mesa-dev] [PATCH] mesa/st: Include builddir/src/compiler/glsl to fix make check
Gert Wollny
gw.fossdev at gmail.com
Mon Sep 11 08:25:33 UTC 2017
Am Montag, den 11.09.2017, 15:59 +0900 schrieb Michel Dänzer:
> On 11/09/17 03:36 PM, Gert Wollny wrote:
> >
> Hmm, weird. I get:
>
> > make -C build-amd64/src/compiler glsl/ir_expression_operation.h V=1
>
> make: Entering directory '/home/daenzer/src/mesa-git/mesa/build-
> amd64/src/compiler'
> /bin/mkdir -p ../../../src/compiler/glsl
> python2.7 ../../../src/compiler/glsl/ir_expression_operation.py enum
> > ../../../src/compiler/glsl/ir_expression_operation.h || (rm -f
> ../../../src/compiler/glsl/ir_expression_operation.h; false)
> make: Leaving directory '/home/daenzer/src/mesa-git/mesa/build-
> amd64/src/compiler'
I have
/bin/mkdir -p glsl
/usr/bin/python2.7 ../../../mesa-github-
ostb/src/compiler/glsl/ir_expression_operation.py enum >
glsl/ir_expression_operation.h || (rm -f
glsl/ir_expression_operation.h; false)
the according rule in src/compiler/Makefile.glsl.am looks like this:
glsl/ir_expression_operation.h: glsl/ir_expression_operation.py
$(MKDIR_GEN)
$(PYTHON_GEN) $(srcdir)/glsl/ir_expression_operation.py \
enum > $@ || ($(RM) $@; false)
More information about the mesa-dev
mailing list