$(MESA_TOP)/src/gallium/auxiliary \
$(intermediates)/common \
external/llvm/include \
- external/llvm/device/include \
- $(ELF_INCLUDES)
+ external/llvm/device/include
-LOCAL_STATIC_LIBRARIES := libLLVMCore
+LOCAL_EXPORT_C_INCLUDE_DIRS := \
+ $(LOCAL_PATH)/common
+
+LOCAL_STATIC_LIBRARIES := \
+ libmesa_nir
+
+LOCAL_WHOLE_STATIC_LIBRARIES := \
+ libelf
+
+$(call mesa-build-with-llvm)
include $(MESA_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)