aboutsummaryrefslogtreecommitdiffstats
path: root/amdgpu
diff options
context:
space:
mode:
authorRob Herring2017-09-15 08:45:59 -0500
committerRob Herring2017-10-09 09:22:35 -0500
commit011fd913b445b5e17148c37d169396c39eced3df (patch)
treea6852bf91516fe7d44261be3452c2fabd66d4cdd /amdgpu
parent2ecafcae8a215d9994fb26a122d97bcb5437c5e8 (diff)
downloadexternal-libdrm-011fd913b445b5e17148c37d169396c39eced3df.tar.gz
external-libdrm-011fd913b445b5e17148c37d169396c39eced3df.tar.xz
external-libdrm-011fd913b445b5e17148c37d169396c39eced3df.zip
Android: move libraries to /vendor
As part of Treble project in Android O, all the device specific files have to be located in a separate vendor partition. This is done by setting LOCAL_PROPRIETARY_MODULE (the name is misleading). This change will not break existing platforms without a vendor partition as it will just move files to /system/vendor. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'amdgpu')
-rw-r--r--amdgpu/Android.mk2
1 files changed, 1 insertions, 1 deletions
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