android: panfrost: Redirect cmdstream includes through GenXML (v2)
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 14 Aug 2020 15:38:29 +0000 (17:38 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Fri, 14 Aug 2020 17:01:38 +0000 (19:01 +0200)
bifrost requires both "pafrost/lib/midgard_pack.h" and "midgard_pack.h" headers

Fixes the following building error:

In file included from external/mesa/src/panfrost/bifrost/cmdline.c:33:
In file included from external/mesa/src/panfrost/bifrost/test/bit.h:31:
external/mesa/src/panfrost/lib/pan_device.h:40:10: fatal error: 'midgard_pack.h' file not found
#include <midgard_pack.h>
         ^~~~~~~~~~~~~~~~
1 error generated.

Fixes: bce1a7e9 ("android: panfrost: Redirect cmdstream includes through GenXML")
Fixes: 88dc4c21 ("panfrost: Redirect cmdstream includes through GenXML")
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/6322>

src/panfrost/Android.lib.mk

index ab5d2126a8550b4749ecd4906b086066d838dcbc..4134c5f2b5a008258563cd6cee5ecf46dbea1dfe 100644 (file)
@@ -49,6 +49,7 @@ $(intermediates)/panfrost/lib/midgard_pack.h: $(midgard_pack_deps)
 
 LOCAL_EXPORT_C_INCLUDE_DIRS := \
        $(MESA_TOP)/src/panfrost/lib/ \
+       $(intermediates)/panfrost/lib/ \
        $(intermediates)
 
 include $(MESA_COMMON_MK)