diff options
author | Roman Stratiienko <[email protected]> | 2020-03-22 23:36:16 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-23 14:03:22 +0000 |
commit | 2a70a1d69d3151e6c95111a297e715e887692ce3 (patch) | |
tree | 1e26c20847d82448d6fe46b2c4cd8128a319f320 | |
parent | 6c8ccbe41b65f21622e10f4de54a6a19dc7d9afa (diff) |
panfrost: Align Android makefiles with recent changes
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Roman Stratiienko <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4280>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4280>
-rw-r--r-- | src/gallium/drivers/panfrost/Android.mk | 3 | ||||
-rw-r--r-- | src/gallium/drivers/panfrost/Makefile.sources | 2 | ||||
-rw-r--r-- | src/gallium/targets/dri/Android.mk | 3 | ||||
-rw-r--r-- | src/panfrost/Android.midgard.mk | 3 | ||||
-rw-r--r-- | src/panfrost/Android.mk | 1 | ||||
-rw-r--r-- | src/panfrost/Android.util.mk | 50 | ||||
-rw-r--r-- | src/panfrost/Makefile.sources | 9 |
7 files changed, 68 insertions, 3 deletions
diff --git a/src/gallium/drivers/panfrost/Android.mk b/src/gallium/drivers/panfrost/Android.mk index d57433667b4..c7ad6e1759b 100644 --- a/src/gallium/drivers/panfrost/Android.mk +++ b/src/gallium/drivers/panfrost/Android.mk @@ -45,7 +45,8 @@ LOCAL_STATIC_LIBRARIES := \ libpanfrost_decode \ libpanfrost_encoder \ libpanfrost_midgard \ - libpanfrost_shared + libpanfrost_shared \ + libpanfrost_util \ LOCAL_MODULE_CLASS := STATIC_LIBRARIES diff --git a/src/gallium/drivers/panfrost/Makefile.sources b/src/gallium/drivers/panfrost/Makefile.sources index 1a465d46f58..1c796605d64 100644 --- a/src/gallium/drivers/panfrost/Makefile.sources +++ b/src/gallium/drivers/panfrost/Makefile.sources @@ -15,6 +15,8 @@ C_SOURCES := \ pan_blit.c \ pan_bo.c \ pan_bo.h \ + pan_cmdstream.c \ + pan_cmdstream.h \ pan_compute.c \ pan_context.c \ pan_context.h \ diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk index 11ee103c669..33cf6a52a61 100644 --- a/src/gallium/targets/dri/Android.mk +++ b/src/gallium/targets/dri/Android.mk @@ -64,7 +64,8 @@ LOCAL_STATIC_LIBRARIES += \ libpanfrost_decode \ libpanfrost_encoder \ libpanfrost_midgard \ - libpanfrost_shared + libpanfrost_shared \ + libpanfrost_util \ ifeq ($(USE_LIBBACKTRACE),true) LOCAL_SHARED_LIBRARIES += libbacktrace diff --git a/src/panfrost/Android.midgard.mk b/src/panfrost/Android.midgard.mk index 6c9cd4c18e9..1b3932a87d4 100644 --- a/src/panfrost/Android.midgard.mk +++ b/src/panfrost/Android.midgard.mk @@ -44,7 +44,8 @@ LOCAL_C_INCLUDES := \ LOCAL_STATIC_LIBRARIES := \ libmesa_glsl \ libmesa_nir \ - libmesa_st_mesa + libmesa_st_mesa \ + libpanfrost_util \ midgard_nir_algebraic_gen := $(LOCAL_PATH)/midgard/midgard_nir_algebraic.py midgard_nir_algebraic_deps := \ diff --git a/src/panfrost/Android.mk b/src/panfrost/Android.mk index e48f81071e6..670f60f3e32 100644 --- a/src/panfrost/Android.mk +++ b/src/panfrost/Android.mk @@ -25,6 +25,7 @@ LOCAL_PATH := $(call my-dir) include $(LOCAL_PATH)/Makefile.sources +include $(LOCAL_PATH)/Android.util.mk include $(LOCAL_PATH)/Android.bifrost.mk include $(LOCAL_PATH)/Android.encoder.mk include $(LOCAL_PATH)/Android.midgard.mk diff --git a/src/panfrost/Android.util.mk b/src/panfrost/Android.util.mk new file mode 100644 index 00000000000..19731a733f2 --- /dev/null +++ b/src/panfrost/Android.util.mk @@ -0,0 +1,50 @@ +# Mesa 3-D graphics library +# +# Copyright (C) +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. + +# Android.mk for libpanfrost_util.a + +# --------------------------------------- +# Build libpanfrost_util +# --------------------------------------- + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + $(util_FILES) + +LOCAL_C_INCLUDES := \ + $(MESA_TOP)/src/panfrost/include/ \ + $(MESA_TOP)/src/gallium/auxiliary/ \ + $(MESA_TOP)/src/gallium/include/ + +LOCAL_STATIC_LIBRARIES := \ + libmesa_nir \ + +LOCAL_MODULE := libpanfrost_util + +LOCAL_GENERATED_SOURCES := \ + +LOCAL_EXPORT_C_INCLUDE_DIRS := \ + $(MESA_TOP)/src/panfrost/util/ \ + +include $(MESA_COMMON_MK) +include $(BUILD_STATIC_LIBRARY) diff --git a/src/panfrost/Makefile.sources b/src/panfrost/Makefile.sources index 212a1d7e540..daa58eb8785 100644 --- a/src/panfrost/Makefile.sources +++ b/src/panfrost/Makefile.sources @@ -17,6 +17,7 @@ encoder_FILES := \ encoder/pan_afbc.c \ encoder/pan_attributes.c \ encoder/pan_encoder.h \ + encoder/pan_format.c \ encoder/pan_invocation.c \ encoder/pan_props.c \ encoder/pan_sampler.c \ @@ -68,3 +69,11 @@ pandecode_FILES := \ pandecode/pan_pretty_print.c \ pandecode/pan_pretty_print.h \ pandecode/public.h + +util_FILES := \ + util/lcra.c \ + util/lcra.h \ + util/pan_ir.c \ + util/pan_ir.h \ + util/pan_liveness.c \ + util/pan_sysval.c \ |