aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk1
-rw-r--r--CleanSpec.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 4aa734e0..42d254cc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -59,6 +59,7 @@ include $(BUILD_STATIC_LIBRARY)
59include $(CLEAR_VARS) 59include $(CLEAR_VARS)
60 60
61LOCAL_MODULE := libdrm 61LOCAL_MODULE := libdrm
62LOCAL_VENDOR_MODULE := true
62 63
63LOCAL_SRC_FILES := $(filter-out %.h,$(LIBDRM_FILES)) 64LOCAL_SRC_FILES := $(filter-out %.h,$(LIBDRM_FILES))
64LOCAL_EXPORT_C_INCLUDE_DIRS := \ 65LOCAL_EXPORT_C_INCLUDE_DIRS := \
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 28a11db4..aa1d752b 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -2,3 +2,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/libdrm)
2$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/freedreno) 2$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/freedreno)
3$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libdrm_*intermediates) 3$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libdrm_*intermediates)
4$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libdrm_*intermediates) 4$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libdrm_*intermediates)
5
6# libdrm is moved from /system to /vendor
7$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libdrm.so)
8$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/libdrm.so)