aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2020-05-09 09:44:35 +0200
committermaurossi <[email protected]>2020-05-09 16:19:14 +0000
commit5dc3b22dd06c74cdb06cbc6cf3b6d073b221e7f3 (patch)
tree1b5301bb6cf14d2a8beb6c3ff6df8be1001330d1
parente622e010fd838eb30eab46800015516703b76f4d (diff)
freedreno/drm: android: add libfreedreno_registers static dependency
The dependency is required to get the necessary generated headers Fixes the following building error: In file included from external/mesa/src/freedreno/drm/msm_bo.c:27: In file included from external/mesa/src/freedreno/drm/msm_priv.h:30: In file included from external/mesa/src/freedreno/drm/freedreno_priv.h:51: external/mesa/src/freedreno/drm/freedreno_ringbuffer.h:35:10: fatal error: 'adreno_common.xml.h' file not found #include "adreno_common.xml.h" ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. Fixes: 6c688ae8 ("freedreno: Deduplicate ringbuffer macros with computerator/fdperf") Signed-off-by: Mauro Rossi <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4973>
-rw-r--r--src/freedreno/Android.drm.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/Android.drm.mk b/src/freedreno/Android.drm.mk
index dfa9bed7d2e..0a79fcf9a60 100644
--- a/src/freedreno/Android.drm.mk
+++ b/src/freedreno/Android.drm.mk
@@ -37,5 +37,7 @@ LOCAL_C_INCLUDES := \
LOCAL_MODULE := libfreedreno_drm
+LOCAL_STATIC_LIBRARIES := libfreedreno_registers
+
include $(MESA_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)