diff options
-rwxr-xr-x | build-homebrew-formula.py | 1 | ||||
-rw-r--r-- | source/Makefile | 15 |
2 files changed, 9 insertions, 7 deletions
diff --git a/build-homebrew-formula.py b/build-homebrew-formula.py index c6aa0fa..007768f 100755 --- a/build-homebrew-formula.py +++ b/build-homebrew-formula.py @@ -68,6 +68,7 @@ class CryptechAlpha < Formula sbin.install "sw/stm32/projects/hsm/cryptech_upload" sbin.install "sw/stm32/projects/hsm/cryptech_probe" + sbin.install "sw/stm32/projects/hsm/cryptech_miniterm" sbin.env_script_all_files(libexec/"sbin", :PYTHONPATH => ENV["PYTHONPATH"]) # Install other (non-Python) stuff, then we are done. diff --git a/source/Makefile b/source/Makefile index a6472d5..dadb5dd 100644 --- a/source/Makefile +++ b/source/Makefile @@ -17,12 +17,13 @@ clean distclean: ${MAKE} -C sw/pkcs11 $@ install: all - install -D -m 644 cryptech-alpha-firmware.tar.gz ${DESTDIR}/usr/share/cryptech-alpha-firmware.tar.gz - install -D -m 644 sw/pkcs11/libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so - ln -s libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so.0 - install -D sw/pkcs11/p11util ${DESTDIR}/usr/sbin/p11util -# install -D sw/pkcs11/libhal/cryptech_rpcd ${DESTDIR}/usr/sbin/cryptech_rpcd - install -D sw/stm32/projects/hsm/cryptech_upload ${DESTDIR}/usr/sbin/cryptech_upload - install -D sw/stm32/projects/hsm/cryptech_probe ${DESTDIR}/usr/sbin/cryptech_probe + install -D -m 644 cryptech-alpha-firmware.tar.gz ${DESTDIR}/usr/share/cryptech-alpha-firmware.tar.gz + install -D -m 644 sw/pkcs11/libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so + ln -s libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so.0 + install -D sw/pkcs11/p11util ${DESTDIR}/usr/sbin/p11util +# install -D sw/pkcs11/libhal/cryptech_rpcd ${DESTDIR}/usr/sbin/cryptech_rpcd + install -D sw/stm32/projects/hsm/cryptech_upload ${DESTDIR}/usr/sbin/cryptech_upload + install -D sw/stm32/projects/hsm/cryptech_probe ${DESTDIR}/usr/sbin/cryptech_probe + install -D sw/stm32/projects/hsm/cryptech_miniterm ${DESTDIR}/usr/sbin/cryptech_miniterm # Still need scripts to do something useful with the firmware tarball |