aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/hwdata
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2023-04-14 17:59:18 -0700
committerGitHub <noreply@github.com>2023-04-14 17:59:18 -0700
commita3e7d1a9b0f3da68f1571eb3981e74920f536a2f (patch)
treeaf938018434bf9a841e5de5e94e8097b8b2b9f98 /tools/depends/target/hwdata
parent915d0ecbbe1a74a2cd2acba8856f825770b512bd (diff)
parent2cf5b86a1f4ad777115f169cfa361d09ffe80ce2 (diff)
Merge pull request #19141 from lrusak/edid-decode
Diffstat (limited to 'tools/depends/target/hwdata')
-rw-r--r--tools/depends/target/hwdata/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/depends/target/hwdata/Makefile b/tools/depends/target/hwdata/Makefile
new file mode 100644
index 0000000000..8e1155e59d
--- /dev/null
+++ b/tools/depends/target/hwdata/Makefile
@@ -0,0 +1,28 @@
+include ../../Makefile.include
+DEPS =../../Makefile.include Makefile ../../download-files.include
+
+LIBNAME=hwdata
+VERSION=0.368
+ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
+SHA512=a38adffa503f6f37ddefbad9a0fe9694605ffe54781fc88dd91937a09a54a7de70e027138f34a64bc3a701ab91656c1ae2dc938ed7cb0f73652d34a2ae917690
+include ../../download-files.include
+
+all: .installed-$(PLATFORM)
+
+download: $(TARBALLS_LOCATION)/$(ARCHIVE)
+
+$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE)
+ rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
+ cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
+
+.installed-$(PLATFORM): $(PLATFORM)
+ cd $(PLATFORM); ./configure --prefix=$(PREFIX) --datarootdir=$(PREFIX)/share --disable-blacklist
+ cd $(PLATFORM); make install
+ touch $@
+
+clean:
+ $(MAKE) -C $(PLATFORM) clean
+ rm -f .installed-$(PLATFORM)
+
+distclean:
+ rm -rf $(PLATFORM) .installed-$(PLATFORM)