diff options
author | Rob Clark <[email protected]> | 2017-10-14 13:00:28 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-10-24 15:33:40 -0400 |
commit | 0ca8d53215a8e2991430dbcbc13fbaf5b442318c (patch) | |
tree | 79ecc573fa65d30498e3821c4049d34edaec9145 /src/gallium/drivers/freedreno/Android.gen.mk | |
parent | 583ce96c9429e23c33daeb7025210ef73ae51688 (diff) |
freedreno/ir3: use a flag instead of setting PYTHONPATH
Similar to 848da662224326ccfbe6647bc82f4f89ca22c762, pass an arg to
ir3_nir_trig.py to add to python path, rather than using $PYTHONPATH,
to prep for meson build support.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/Android.gen.mk')
-rw-r--r-- | src/gallium/drivers/freedreno/Android.gen.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/Android.gen.mk b/src/gallium/drivers/freedreno/Android.gen.mk index 072cf998aed..17b6fbe1b7e 100644 --- a/src/gallium/drivers/freedreno/Android.gen.mk +++ b/src/gallium/drivers/freedreno/Android.gen.mk @@ -32,7 +32,7 @@ intermediates := $(call local-generated-sources-dir) $(intermediates)/ir3/ir3_nir_trig.c: $(ir3_nir_trig_deps) @mkdir -p $(dir $@) - $(hide) PYTHONPATH=$(MESA_TOP)/src/compiler/nir $(MESA_PYTHON2) $< > $@ + $(hide) $(MESA_PYTHON2) $< -p $(MESA_TOP)/src/compiler/nir > $@ LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, \ $(ir3_GENERATED_FILES)) |