android: winsys/amdgpu,radv: fix generated amdgfxregs.h header dependecies
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 <issor.oruam@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
9bf47fefe0
commit
cf389ba895
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -32,7 +32,7 @@ LOCAL_SRC_FILES := $(C_SOURCES)
|
|||
|
||||
LOCAL_CFLAGS := $(AMDGPU_CFLAGS)
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libmesa_amdgpu_addrlib
|
||||
LOCAL_STATIC_LIBRARIES := libmesa_amdgpu_addrlib libmesa_amd_common
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libdrm_amdgpu
|
||||
LOCAL_MODULE := libmesa_winsys_amdgpu
|
||||
|
|
Loading…
Reference in New Issue