summaryrefslogtreecommitdiff
path: root/data/frames/Makefile
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-14 05:25:33 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-19 15:26:01 +0300
commitfef6a90d2b2f21d885b2ec2d348bfcdb7751c118 (patch)
tree10620fdfdcbe6764320c0b6d5a8f8801027fea58 /data/frames/Makefile
parent6ca13666c26995ebc4ef9d612d88517702bab1ee (diff)
vsp-lib: Use gen-image to generate frames at runtime
Replace the build time reference frames generation system by runtime generation of the frames. This saves a lot of disk space and allows tests to easily use new reference frames. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'data/frames/Makefile')
-rw-r--r--data/frames/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/data/frames/Makefile b/data/frames/Makefile
index 326e447..04ea2b2 100644
--- a/data/frames/Makefile
+++ b/data/frames/Makefile
@@ -1,9 +1,10 @@
all:
- @./gen-frames.py
clean:
- @rm *.bin
install:
mkdir -p $(INSTALL_DIR)/frames/
- cp frame-reference-*.bin $(INSTALL_DIR)/frames/
+ for frame in *.pnm.gz ; do
+ gzip -dk $(frame)
+ mv ${frame/.gz/} $(INSTALL_DIR)/frames/
+ done