android: panfrost: Rename encoder/ to lib/
authorMauro Rossi <issor.oruam@gmail.com>
Mon, 10 Aug 2020 13:01:30 +0000 (15:01 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Mon, 10 Aug 2020 19:35:31 +0000 (21:35 +0200)
Fixes the following building errors:

target  C: libpanfrost_encoder <= external/mesa/src/panfrost/encoder/pan_attributes.c
...
clang: error: no such file or directory: 'external/mesa/src/panfrost/encoder/pan_attributes.c'
clang: error: no input files

target  C: libpanfrost_encoder <= external/mesa/src/panfrost/encoder/pan_afbc.c
...
clang: error: no such file or directory: 'external/mesa/src/panfrost/encoder/pan_afbc.c'
clang: error: no input files

Fixes: 1c62b5528 ("panfrost: Rename encoder/ to lib/")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6261>

src/gallium/drivers/panfrost/Android.mk
src/gallium/targets/dri/Android.mk
src/panfrost/Android.encoder.mk [deleted file]
src/panfrost/Android.lib.mk [new file with mode: 0644]
src/panfrost/Android.mk
src/panfrost/Android.pandecode.mk
src/panfrost/Makefile.sources

index c7ad6e1759b0d22c837faca623f38bb72c5304a8..c6d7abfbd3051252df5193e4943173704df497a0 100644 (file)
@@ -43,7 +43,7 @@ LOCAL_STATIC_LIBRARIES := \
        libmesa_winsys_panfrost \
        libpanfrost_bifrost \
        libpanfrost_decode \
-       libpanfrost_encoder \
+       libpanfrost_lib \
        libpanfrost_midgard \
        libpanfrost_shared \
        libpanfrost_util \
index 7506d8211e655d9daf00b5f0b248abdd170f8c26..244f67852f2794a051e6159a3e6963784c3d6fcd 100644 (file)
@@ -63,7 +63,7 @@ LOCAL_STATIC_LIBRARIES += \
        libmesa_gallium \
        libpanfrost_bifrost \
        libpanfrost_decode \
-       libpanfrost_encoder \
+       libpanfrost_lib \
        libpanfrost_midgard \
        libpanfrost_shared \
        libpanfrost_util \
diff --git a/src/panfrost/Android.encoder.mk b/src/panfrost/Android.encoder.mk
deleted file mode 100644 (file)
index 9e57adc..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright © 2019 Collabora Ltd.
-#
-# 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.
-
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libpanfrost_encoder
-
-LOCAL_SRC_FILES := \
-       $(encoder_FILES)
-
-LOCAL_C_INCLUDES := \
-       $(MESA_TOP)/src/gallium/auxiliary/ \
-       $(MESA_TOP)/src/gallium/include/ \
-       $(MESA_TOP)/src/panfrost/encoder/ \
-       $(MESA_TOP)/src/panfrost/include/
-
-LOCAL_STATIC_LIBRARIES := \
-       libmesa_nir
-
-LOCAL_GENERATED_SOURCES := \
-
-LOCAL_EXPORT_C_INCLUDE_DIRS := \
-       $(MESA_TOP)/src/panfrost/encoder/ \
-
-include $(MESA_COMMON_MK)
-include $(BUILD_STATIC_LIBRARY)
\ No newline at end of file
diff --git a/src/panfrost/Android.lib.mk b/src/panfrost/Android.lib.mk
new file mode 100644 (file)
index 0000000..cda7038
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright © 2019 Collabora Ltd.
+#
+# 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.
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libpanfrost_lib
+
+LOCAL_SRC_FILES := \
+       $(lib_FILES)
+
+LOCAL_C_INCLUDES := \
+       $(MESA_TOP)/src/gallium/auxiliary/ \
+       $(MESA_TOP)/src/gallium/include/ \
+       $(MESA_TOP)/src/panfrost/lib/ \
+       $(MESA_TOP)/src/panfrost/include/
+
+LOCAL_STATIC_LIBRARIES := \
+       libmesa_nir
+
+LOCAL_GENERATED_SOURCES := \
+
+LOCAL_EXPORT_C_INCLUDE_DIRS := \
+       $(MESA_TOP)/src/panfrost/lib/ \
+
+include $(MESA_COMMON_MK)
+include $(BUILD_STATIC_LIBRARY)
index 670f60f3e3200a09097e2b3fe57732892d3054ae..b76a99a291dffb4f97b3a0819b69a0f3cd05f8b2 100644 (file)
@@ -27,7 +27,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.lib.mk
 include $(LOCAL_PATH)/Android.midgard.mk
 include $(LOCAL_PATH)/Android.shared.mk
 include $(LOCAL_PATH)/Android.pandecode.mk
index 76c5ce9a763980d05bee4df69eceb1c875e8b3ff..6ddb914875b86cac349499aba41880b6e14f7db2 100644 (file)
@@ -29,11 +29,11 @@ LOCAL_C_INCLUDES := \
        $(MESA_TOP)/src/gallium/auxiliary/ \
        $(MESA_TOP)/src/gallium/include/ \
        $(MESA_TOP)/src/panfrost/include/ \
-       $(MESA_TOP)/src/panfrost/encoder/ \
+       $(MESA_TOP)/src/panfrost/lib/ \
        $(MESA_TOP)/src/panfrost/pandecode/
 
 LOCAL_STATIC_LIBRARIES := \
-       libpanfrost_encoder
+       libpanfrost_lib
 
 LOCAL_GENERATED_SOURCES := \
 
@@ -41,4 +41,4 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \
        $(MESA_TOP)/src/panfrost/pandecode/ \
 
 include $(MESA_COMMON_MK)
-include $(BUILD_STATIC_LIBRARY)
\ No newline at end of file
+include $(BUILD_STATIC_LIBRARY)
index d34e71dfbcaa3e1248d4d61b75ca750f65650edb..4c817dc1d58d2bb5b2baf022baa4ab8ff9d875b4 100644 (file)
@@ -20,26 +20,26 @@ bifrost_FILES := \
         bifrost/disassemble.c \
         bifrost/disassemble.h
 
-encoder_FILES := \
-       encoder/pan_afbc.c \
-        encoder/pan_attributes.c \
-        encoder/pan_bo.c \
-        encoder/pan_bo.h \
-        encoder/pan_blit.c \
-        encoder/pan_device.h \
-        encoder/pan_encoder.h \
-        encoder/pan_format.c \
-        encoder/pan_invocation.c \
-        encoder/pan_pool.c \
-        encoder/pan_pool.h \
-        encoder/pan_props.c \
-        encoder/pan_sampler.c \
-        encoder/pan_scoreboard.c \
-        encoder/pan_scoreboard.h \
-        encoder/pan_tiler.c \
-        encoder/pan_texture.c \
-        encoder/pan_scratch.c \
-        encoder/pan_util.h
+lib_FILES := \
+        lib/pan_afbc.c \
+        lib/pan_attributes.c \
+        lib/pan_bo.c \
+        lib/pan_bo.h \
+        lib/pan_blit.c \
+        lib/pan_device.h \
+        lib/pan_encoder.h \
+        lib/pan_format.c \
+        lib/pan_invocation.c \
+        lib/pan_pool.c \
+        lib/pan_pool.h \
+        lib/pan_props.c \
+        lib/pan_sampler.c \
+        lib/pan_scoreboard.c \
+        lib/pan_scoreboard.h \
+        lib/pan_tiler.c \
+        lib/pan_texture.c \
+        lib/pan_scratch.c \
+        lib/pan_util.h
 
 midgard_FILES := \
         midgard/compiler.h \