mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 13:33:10 +00:00
ad2395d3db
Pass through new toolchain path via $(CROSS) so we can set the c/c++ compiler paths correctly for CMake. Adjust patch to use new paths, and fix compiler/linker paths to correct a libusb linking issue. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
21 lines
674 B
Plaintext
21 lines
674 B
Plaintext
modules-$(CONFIG_LIBREMKEY) += libremkey-hotp-verification
|
|
|
|
libremkey-hotp-verification_depends := libusb $(musl_dep)
|
|
|
|
libremkey-hotp-verification_version := git
|
|
libremkey-hotp-verification_dir := libremkey-hotp-verification
|
|
libremkey-hotp-verification_repo := --recursive https://github.com/Nitrokey/nitrokey-hotp-verification
|
|
|
|
libremkey-hotp-verification_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
|
|
libremkey-hotp-verification_output := \
|
|
libremkey_hotp_verification \
|
|
libremkey_hotp_initialize
|
|
|
|
libremkey-hotp-verification_configure := \
|
|
INSTALL="$(INSTALL)" \
|
|
CROSS="$(CROSS)" \
|
|
cmake -DCMAKE_TOOLCHAIN_FILE=./Toolchain-heads.cmake -DCMAKE_AR="$(CROSS)ar" .
|