From: Lauri Kasanen Date: Wed, 19 May 2021 10:02:53 +0000 (+0300) Subject: Basic media infra X-Git-Tag: xlen-bcd~594 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a9803b5f30dc375f89c1c66cf384f83fa4b72ee;p=openpower-isa.git Basic media infra --- 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