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 <issor.oruam@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4973>
This commit is contained in:
Mauro Rossi
2020-05-09 09:44:35 +02:00
committed by maurossi
parent e622e010fd
commit 5dc3b22dd0
+2
View File
@@ -37,5 +37,7 @@ LOCAL_C_INCLUDES := \
LOCAL_MODULE := libfreedreno_drm
LOCAL_STATIC_LIBRARIES := libfreedreno_registers
include $(MESA_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)