summaryrefslogtreecommitdiffstats
path: root/src/broadcom/Android.genxml.mk
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-07-12 13:15:34 -0700
committerEric Anholt <[email protected]>2017-07-25 14:44:52 -0700
commit5b102160ae1b8b8322ab106d454cb69fb563fbed (patch)
tree45658014deeab5af5dce20e3dfa0af3686e69cf7 /src/broadcom/Android.genxml.mk
parent12b55c8e27bbbe59e646f969325c362137eb8fc1 (diff)
broadcom/genxml: Introduce a V3D packet/struct decoder.
This is copied from Intel's XML decoder, modified to handle V3D's byte-oriented packets. v2: Squash in robher's fixes for Android
Diffstat (limited to 'src/broadcom/Android.genxml.mk')
-rw-r--r--src/broadcom/Android.genxml.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/broadcom/Android.genxml.mk b/src/broadcom/Android.genxml.mk
index a504326135c..d42701dffe3 100644
--- a/src/broadcom/Android.genxml.mk
+++ b/src/broadcom/Android.genxml.mk
@@ -50,8 +50,14 @@ $(intermediates)/broadcom/cle/v3d_packet_v21_pack.h: PRIVATE_XML := $(LOCAL_PATH
$(intermediates)/broadcom/cle/v3d_packet_v21_pack.h: $(LOCAL_PATH)/cle/v3d_packet_v21.xml $(LOCAL_PATH)/cle/gen_pack_header.py
$(call header-gen)
+$(intermediates)/broadcom/cle/v3d_xml.h: $(addprefix $(MESA_TOP)/src/broadcom/,$(BROADCOM_GENXML_XML_FILES)) $(MESA_TOP)/src/intel/genxml/gen_zipped_file.py
+ @mkdir -p $(dir $@)
+ @echo "Gen Header: $(PRIVATE_MODULE) <= $(notdir $(@))"
+ $(hide) $(MESA_PYTHON2) $(MESA_TOP)/src/intel/genxml/gen_zipped_file.py $(addprefix $(MESA_TOP)/src/broadcom/,$(BROADCOM_GENXML_XML_FILES)) > $@ || (rm -f $@; false)
+
LOCAL_EXPORT_C_INCLUDE_DIRS := \
$(MESA_TOP)/src/broadcom/cle \
+ $(intermediates)/broadcom/cle \
$(intermediates)
include $(MESA_COMMON_MK)