2015-08-18 03:43:57 -06:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
# Import variables LIBDRM_AMDGPU_FILES, LIBDRM_AMDGPU_H_FILES
|
|
|
|
include $(LOCAL_PATH)/Makefile.sources
|
|
|
|
|
|
|
|
LOCAL_MODULE := libdrm_amdgpu
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := libdrm
|
|
|
|
|
2017-01-22 09:59:42 -07:00
|
|
|
LOCAL_SRC_FILES := $(LIBDRM_AMDGPU_FILES)
|
2015-08-18 03:43:57 -06:00
|
|
|
|
2017-07-27 02:20:52 -06:00
|
|
|
LOCAL_CFLAGS := \
|
2017-11-30 10:52:06 -07:00
|
|
|
-DAMDGPU_ASIC_ID_TABLE=\"/vendor/etc/hwdata/amdgpu.ids\"
|
2017-07-27 02:20:52 -06:00
|
|
|
|
|
|
|
LOCAL_REQUIRED_MODULES := amdgpu.ids
|
|
|
|
|
2017-01-22 09:59:42 -07:00
|
|
|
include $(LIBDRM_COMMON_MK)
|
2015-08-18 03:43:57 -06:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|