$(MESA_TOP)/src/gallium/include \
$(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_glsl,,)/glsl \
$(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
+ $(MESA_TOP)/src/intel/compiler \
$(MESA_TOP)/src/compiler/nir
-LOCAL_SHARED_LIBRARIES := \
- libdrm_intel
-
brw_nir_trig_workarounds_deps := \
$(LOCAL_PATH)/compiler/brw_nir_trig_workarounds.py \
$(MESA_TOP)/src/compiler/nir/nir_algebraic.py
$(intermediates)/compiler/brw_nir_trig_workarounds.c: $(brw_nir_trig_workarounds_deps)
@mkdir -p $(dir $@)
- $(hide) PYTHONPATH=$(MESA_TOP)/src/compiler/nir $(MESA_PYTHON2) $< > $@
+ $(hide) $(MESA_PYTHON2) $< -p $(MESA_TOP)/src/compiler/nir > $@
LOCAL_STATIC_LIBRARIES = libmesa_genxml