From 9a9803b5f30dc375f89c1c66cf384f83fa4b72ee Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Wed, 19 May 2021 13:02:53 +0300 Subject: [PATCH] Basic media infra --- media/.gitignore | 1 + media/Makefile | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 media/.gitignore create mode 100644 media/Makefile diff --git a/media/.gitignore b/media/.gitignore new file mode 100644 index 00000000..1269488f --- /dev/null +++ b/media/.gitignore @@ -0,0 +1 @@ +data diff --git a/media/Makefile b/media/Makefile new file mode 100644 index 00000000..e50c997b --- /dev/null +++ b/media/Makefile @@ -0,0 +1,19 @@ +.PHONY: all wget tests + +EXPECTED_VER = 1 +VER = $(shell cat data/VERSION) + +all: +ifneq ($(VER), $(EXPECTED_VER)) + $(error Data not found, or version mismatch. Please run "make wget") +endif + @$(MAKE) tests + +wget: + mkdir -p data + rm media-test-data.txz + wget https://ftp.libre-soc.org/media-test-data.txz + tar -C data -xvf media-test-data.txz + +tests: + echo juuh -- 2.30.2