2020-06-11 13:29:51 +00:00
|
|
|
modules-$(CONFIG_HOTPKEY) += libremkey-hotp-verification
|
2018-06-19 19:27:27 +00:00
|
|
|
|
|
|
|
libremkey-hotp-verification_depends := libusb $(musl_dep)
|
|
|
|
|
2020-05-21 05:38:02 +00:00
|
|
|
libremkey-hotp-verification_version := 809953b9b4bef97a4cffaa20d675bd7fe9d8da53
|
2020-02-19 19:28:15 +00:00
|
|
|
libremkey-hotp-verification_dir := libremkey-hotp-verification-$(libremkey-hotp-verification_version)
|
|
|
|
libremkey-hotp-verification_tar := nitrokey-hotp-verification-$(libremkey-hotp-verification_version).tar.gz
|
|
|
|
libremkey-hotp-verification_url := https://github.com/Nitrokey/nitrokey-hotp-verification/archive/$(libremkey-hotp-verification_version).tar.gz
|
2020-05-21 05:38:02 +00:00
|
|
|
libremkey-hotp-verification_hash := 251e5cef74e4e45eeddc49e4a1da1e22d1de774cd32cb0451a9030579ae958ba
|
2018-06-19 19:27:27 +00:00
|
|
|
|
|
|
|
libremkey-hotp-verification_target := \
|
|
|
|
$(MAKE_JOBS) \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
|
|
|
|
libremkey-hotp-verification_output := \
|
|
|
|
libremkey_hotp_verification \
|
|
|
|
libremkey_hotp_initialize
|
|
|
|
|
|
|
|
libremkey-hotp-verification_configure := \
|
|
|
|
INSTALL="$(INSTALL)" \
|
2020-01-22 03:43:56 +00:00
|
|
|
CROSS="$(CROSS)" \
|
2020-05-21 05:38:02 +00:00
|
|
|
$(CROSS_TOOLS) $(MAKE) LDFLAGS="$(INSTALL)/lib/libusb-1.0.so" && $(MAKE) install INSTALL="$(INSTALL)"
|
2020-02-19 19:28:15 +00:00
|
|
|
|
|
|
|
libremkey-hotp-verification_depends += hidapi
|
|
|
|
modules-y += hidapi
|
|
|
|
|
|
|
|
hidapi_version := e5ae0d30a523c565595bdfba3d5f2e9e1faf0bd0
|
|
|
|
hidapi_dir := libremkey-hotp-verification-$(libremkey-hotp-verification_version)/hidapi
|
|
|
|
hidapi_tar := hidapi-$(hidapi_version).tar.xz
|
|
|
|
hidapi_url := https://github.com/Nitrokey/hidapi/archive/$(hidapi_version).tar.gz
|
|
|
|
hidapi_hash := acc2a5089a8917085c2b3ebe9446065a21c760ba7e13cb54917043c4122188e0
|
|
|
|
|
|
|
|
|
|
|
|
## hidapi will be built as part of libremkey-hotp-verification
|
|
|
|
## so nothing to do here (but need make to be happy)
|
|
|
|
hidapi_output := .built
|
|
|
|
hidapi_configure := echo -e 'all:\n\ttouch .built' > Makefile
|