diff options
author | Rob Herring <robh@kernel.org> | 2017-09-15 08:45:59 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-10-09 09:22:35 -0500 |
commit | 011fd913b445b5e17148c37d169396c39eced3df (patch) | |
tree | a6852bf91516fe7d44261be3452c2fabd66d4cdd /amdgpu | |
parent | 2ecafcae8a215d9994fb26a122d97bcb5437c5e8 (diff) | |
download | libdrm-011fd913b445b5e17148c37d169396c39eced3df.tar.gz libdrm-011fd913b445b5e17148c37d169396c39eced3df.tar.bz2 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.mk | 2 |
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 LOCAL_SRC_FILES := $(LIBDRM_AMDGPU_FILES) LOCAL_CFLAGS := \ - -DAMDGPU_ASIC_ID_TABLE=\"/system/etc/hwdata/amdgpu.ids\" \ + -DAMDGPU_ASIC_ID_TABLE=\"/vendor/etc/hwdata/amdgpu.ids\" \ -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=$(shell egrep -ci '^[0-9a-f]{4},.*[0-9a-f]+,' $(LIBDRM_TOP)/data/amdgpu.ids) LOCAL_REQUIRED_MODULES := amdgpu.ids |