From cf389ba89507b20dee1ac640b3a496aa86f82ac1 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 8 Jun 2019 15:15:09 +0200 Subject: android: winsys/amdgpu,radv: fix generated amdgfxregs.h header dependecies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix android building errors in winsys/amdgpu and radv due to 'amdgfxregs.h' not found. Changelog: amd/common - generated $(intermediated)/common path is added to exports winsys/amdgpu - libmesa_amd_common static dependency is added radv - correct generated $(intermediated)/common path is added to includes Fixes: f480b8a ("amd/common: use generated register header") Signed-off-by: Mauro Rossi Reviewed-by: Nicolai Hähnle --- src/amd/Android.common.mk | 3 ++- src/amd/vulkan/Android.mk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/amd') diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk index 54180f16bba..1a3a00b9bc6 100644 --- a/src/amd/Android.common.mk +++ b/src/amd/Android.common.mk @@ -62,7 +62,8 @@ LOCAL_C_INCLUDES := \ $(intermediates)/common LOCAL_EXPORT_C_INCLUDE_DIRS := \ - $(LOCAL_PATH)/common + $(LOCAL_PATH)/common \ + $(intermediates)/common LOCAL_SHARED_LIBRARIES := \ libdrm_amdgpu diff --git a/src/amd/vulkan/Android.mk b/src/amd/vulkan/Android.mk index ab39ba3b723..0725feacb56 100644 --- a/src/amd/vulkan/Android.mk +++ b/src/amd/vulkan/Android.mk @@ -68,7 +68,7 @@ $(call mesa-build-with-llvm) LOCAL_C_INCLUDES := \ $(RADV_COMMON_INCLUDES) \ - $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_amd_common,,) \ + $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_amd_common,,)/common \ $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \ $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_radv_common,,) \ $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_vulkan_util,,)/util \ -- cgit v1.2.3