summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2016-03-09 22:30:30 +0000
committerRussell King <rmk@arm.linux.org.uk>2016-03-09 22:31:38 +0000
commit4b8042d79670239b14ae18158eb68227b5b8290d (patch)
tree5e533045155e6779f32c8a6847bed3256be32855 /Makefile
parentd782ea474e5222d3ee1bee008c68a999a565be96 (diff)
info: update viv_info tool with features from v5 kernel sources
Update the viv_info tool with features derived from the v5 kernel sources, and adding support for reading the number of varyings from the kernel. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c0c2bb0..e4d7acb 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ clean:
info/features.h: include/hw/common.xml.h
{ \
- for n in chipFeatures chipMinorFeatures0 chipMinorFeatures1 chipMinorFeatures2 chipMinorFeatures3 chipMinorFeatures4; do \
+ for n in chipFeatures chipMinorFeatures0 chipMinorFeatures1 chipMinorFeatures2 chipMinorFeatures3 chipMinorFeatures4 chipMinorFeatures5; do \
echo "static struct feature vivante_$${n}[] __maybe_unused = {"; \
echo "#define FEATURE(x) { $${n}_##x, #x }"; \
sed -n "s/#define $${n}_\([^[:space:]]*\).*/\tFEATURE(\1),/p" $<; \
@@ -67,4 +67,4 @@ LDLIBS_viv_info :=$(libdrm_ldflags)
info/viv_info: info/viv_info.o
CFLAGS_viv_info.o :=$(libdrm_cflags)
-info/viv_info.o: info/viv_info.c info/features.h
+info/viv_info.o: info/viv_info.c info/features.h include/etnaviv_drm.h