aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.common.mk2
-rw-r--r--amdgpu/Android.mk2
-rw-r--r--data/Android.mk3
3 files changed, 5 insertions, 2 deletions
diff --git a/Android.common.mk b/Android.common.mk
index b45ca10f..d487acb9 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -13,3 +13,5 @@ LOCAL_CFLAGS += \
13# Quiet down the build system and remove any .h files from the sources 13# Quiet down the build system and remove any .h files from the sources
14LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES)) 14LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
15LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH) 15LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
16
17LOCAL_PROPRIETARY_MODULE := true
diff --git a/amdgpu/Android.mk b/amdgpu/Android.mk
index 88d37651..ce273019 100644
--- a/amdgpu/Android.mk
+++ b/amdgpu/Android.mk
@@ -11,7 +11,7 @@ LOCAL_SHARED_LIBRARIES := libdrm
11LOCAL_SRC_FILES := $(LIBDRM_AMDGPU_FILES) 11LOCAL_SRC_FILES := $(LIBDRM_AMDGPU_FILES)
12 12
13LOCAL_CFLAGS := \ 13LOCAL_CFLAGS := \
14 -DAMDGPU_ASIC_ID_TABLE=\"/system/etc/hwdata/amdgpu.ids\" \ 14 -DAMDGPU_ASIC_ID_TABLE=\"/vendor/etc/hwdata/amdgpu.ids\" \
15 -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=$(shell egrep -ci '^[0-9a-f]{4},.*[0-9a-f]+,' $(LIBDRM_TOP)/data/amdgpu.ids) 15 -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=$(shell egrep -ci '^[0-9a-f]{4},.*[0-9a-f]+,' $(LIBDRM_TOP)/data/amdgpu.ids)
16 16
17LOCAL_REQUIRED_MODULES := amdgpu.ids 17LOCAL_REQUIRED_MODULES := amdgpu.ids
diff --git a/data/Android.mk b/data/Android.mk
index 3c1fd7c6..62013f0c 100644
--- a/data/Android.mk
+++ b/data/Android.mk
@@ -4,6 +4,7 @@ include $(CLEAR_VARS)
4LOCAL_MODULE := amdgpu.ids 4LOCAL_MODULE := amdgpu.ids
5LOCAL_MODULE_TAGS := optional 5LOCAL_MODULE_TAGS := optional
6LOCAL_MODULE_CLASS := ETC 6LOCAL_MODULE_CLASS := ETC
7LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/hwdata 7LOCAL_PROPRIETARY_MODULE := true
8LOCAL_MODULE_RELATIVE_PATH := hwdata
8LOCAL_SRC_FILES := $(LOCAL_MODULE) 9LOCAL_SRC_FILES := $(LOCAL_MODULE)
9include $(BUILD_PREBUILT) 10include $(BUILD_PREBUILT)