From 21a624af23b0322d69f07d066dfa6e493afffd4f Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Sun, 7 Oct 2018 19:16:22 +0200 Subject: Consolidate HID depends makefiles into single recipe Make sure all required dependencies are linked statically, by only providing the static libraries. --- contrib/depends/packages/hidapi-linux.mk | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 contrib/depends/packages/hidapi-linux.mk (limited to 'contrib/depends/packages/hidapi-linux.mk') diff --git a/contrib/depends/packages/hidapi-linux.mk b/contrib/depends/packages/hidapi-linux.mk deleted file mode 100644 index b2a499915..000000000 --- a/contrib/depends/packages/hidapi-linux.mk +++ /dev/null @@ -1,28 +0,0 @@ -package=hidapi-linux -$(package)_version=0.8.0-rc1 -$(package)_download_path=https://github.com/signal11/hidapi/archive -$(package)_file_name=hidapi-$($(package)_version).tar.gz -$(package)_sha256_hash=3c147200bf48a04c1e927cd81589c5ddceff61e6dac137a605f6ac9793f4af61 -$(package)_dependencies=libusb eudev - -define $(package)_set_vars -$(package)_config_opts=--enable-static -$(package)_config_opts+=--prefix=$(host_prefix) -$(package)_config_opts+=libudev_LIBS="-L$(host_prefix)/lib -ludev" -$(package)_config_opts+=libudev_CFLAGS=-I$(host_prefix)/include -$(package)_config_opts+=libusb_LIBS="-L$(host_prefix)/lib -lusb-1.0" -$(package)_config_opts+=libusb_CFLAGS=-I$(host_prefix)/include/libusb-1.0 -endef - -define $(package)_config_cmds - ./bootstrap &&\ - $($(package)_autoconf) $($(package)_config_opts) -endef - -define $(package)_build_cmds - $(MAKE) -endef - -define $(package)_stage_cmds - $(MAKE) DESTDIR=$($(package)_staging_dir) install -endef -- cgit v1.2.3