[Mesa-stable] [PATCH 07/16] android: mesa: generate the format_{un, }pack.[ch] sources

Emil Velikov emil.l.velikov at gmail.com
Sat Mar 28 13:54:23 PDT 2015


From: Mauro Rossi <issor.oruam at gmail.com>

Missed out with commit e1fdcddafe9(mesa: Autogenerate format_unpack.c)

Cc: "10.5" <mesa-stable at lists.freedesktop.org>
[Emil Velikov: Split our from a larger commit.]
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/mesa/Android.gen.mk | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/src/mesa/Android.gen.mk b/src/mesa/Android.gen.mk
index caae2c1..cc6b223 100644
--- a/src/mesa/Android.gen.mk
+++ b/src/mesa/Android.gen.mk
@@ -34,6 +34,9 @@ sources := \
 	main/enums.c \
 	main/api_exec.c \
 	main/dispatch.h \
+	main/format_pack.c \
+	main/format_unpack.c \
+	main/format_info.h \
 	main/remap_helper.h \
 	main/get_hash.h
 
@@ -124,3 +127,21 @@ format_info_deps := \
 
 $(intermediates)/main/format_info.h: $(format_info_deps)
 	@$(MESA_PYTHON2) $(FORMAT_INFO) $< > $@
+
+FORMAT_PACK := $(LOCAL_PATH)/main/format_pack.py
+format_pack_deps := \
+	$(LOCAL_PATH)/main/formats.csv \
+	$(LOCAL_PATH)/main/format_parser.py \
+	$(FORMAT_PACK)
+
+$(intermediates)/main/format_pack.c: $(format_pack_deps)
+	@$(MESA_PYTHON2) $(FORMAT_PACK) $< > $@
+
+FORMAT_UNPACK := $(LOCAL_PATH)/main/format_unpack.py
+format_unpack_deps := \
+	$(LOCAL_PATH)/main/formats.csv \
+	$(LOCAL_PATH)/main/format_parser.py \
+	$(FORMAT_UNPACK)
+
+$(intermediates)/main/format_unpack.c: $(format_unpack_deps)
+	@$(MESA_PYTHON2) $(FORMAT_UNPACK) $< > $@
-- 
2.1.3



More information about the mesa-stable mailing list