1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4# Import variables LIBDRM_AMDGPU_FILES, LIBDRM_AMDGPU_H_FILES 5include $(LOCAL_PATH)/Makefile.sources 6 7LOCAL_MODULE := libdrm_amdgpu 8 9LOCAL_SHARED_LIBRARIES := libdrm 10 11LOCAL_SRC_FILES := $(LIBDRM_AMDGPU_FILES) 12 13LOCAL_CFLAGS := \ 14 -DAMDGPU_ASIC_ID_TABLE=\"/vendor/etc/hwdata/amdgpu.ids\" 15 16LOCAL_REQUIRED_MODULES := amdgpu.ids 17 18include $(LIBDRM_COMMON_MK) 19include $(BUILD_SHARED_LIBRARY) 20