summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-09-15 08:45:59 -0500
committerRob Herring <robh@kernel.org>2017-10-09 09:22:35 -0500
commit011fd913b445b5e17148c37d169396c39eced3df (patch)
treea6852bf91516fe7d44261be3452c2fabd66d4cdd /data
parent2ecafcae8a215d9994fb26a122d97bcb5437c5e8 (diff)
downloaddrm-011fd913b445b5e17148c37d169396c39eced3df.tar.gz
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 'data')
-rw-r--r--data/Android.mk3
1 files changed, 2 insertions, 1 deletions
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)
LOCAL_MODULE := amdgpu.ids
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
-LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/hwdata
+LOCAL_PROPRIETARY_MODULE := true
+LOCAL_MODULE_RELATIVE_PATH := hwdata
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)