diff options
Diffstat (limited to 'meta-amdfalconx86/recipes-graphics/drm/files/0025-android-enable-building-static-version-of-libdrm.patch')
-rw-r--r-- | meta-amdfalconx86/recipes-graphics/drm/files/0025-android-enable-building-static-version-of-libdrm.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/meta-amdfalconx86/recipes-graphics/drm/files/0025-android-enable-building-static-version-of-libdrm.patch b/meta-amdfalconx86/recipes-graphics/drm/files/0025-android-enable-building-static-version-of-libdrm.patch deleted file mode 100644 index 98c11e7b..00000000 --- a/meta-amdfalconx86/recipes-graphics/drm/files/0025-android-enable-building-static-version-of-libdrm.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 682eaa05e6bc6b191b826e1c9db4446caea43c49 Mon Sep 17 00:00:00 2001 -From: Sumit Semwal <sumit.semwal@linaro.org> -Date: Fri, 29 Jan 2016 10:00:47 -0600 -Subject: [PATCH 025/117] android: enable building static version of libdrm - -Android needs libdrm built statically for recovery; -enable that as well. - -Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> -Signed-off-by: Rob Herring <robh@kernel.org> -Cc: Chih-Wei Huang <cwhuang@linux.org.tw> -Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> ---- - Android.mk | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -diff --git a/Android.mk b/Android.mk -index 90cdcb3..1d8cd65 100644 ---- a/Android.mk -+++ b/Android.mk -@@ -27,6 +27,8 @@ include $(CLEAR_VARS) - # Import variables LIBDRM_{,H_,INCLUDE_H_,INCLUDE_VMWGFX_H_}FILES - include $(LOCAL_PATH)/Makefile.sources - -+#static library for the device (recovery) -+include $(CLEAR_VARS) - LOCAL_MODULE := libdrm - LOCAL_MODULE_TAGS := optional - -@@ -41,7 +43,24 @@ LOCAL_C_INCLUDES := \ - LOCAL_CFLAGS := \ - -DHAVE_VISIBILITY=1 \ - -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 -+include $(BUILD_STATIC_LIBRARY) -+ -+# Shared library for the device -+include $(CLEAR_VARS) -+LOCAL_MODULE := libdrm -+LOCAL_MODULE_TAGS := optional - -+LOCAL_SRC_FILES := $(LIBDRM_FILES) -+LOCAL_EXPORT_C_INCLUDE_DIRS := \ -+ $(LOCAL_PATH) \ -+ $(LOCAL_PATH)/include/drm -+ -+LOCAL_C_INCLUDES := \ -+ $(LOCAL_PATH)/include/drm -+ -+LOCAL_CFLAGS := \ -+ -DHAVE_VISIBILITY=1 \ -+ -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 - include $(BUILD_SHARED_LIBRARY) - - include $(call all-makefiles-under,$(LOCAL_PATH)) --- -2.7.4 - |