aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-07-07 21:24:29 -0400
committerRob Austein <sra@hactrn.net>2016-07-07 21:24:29 -0400
commit29b822c2aa19531f81d40669f9eca90a89a5dc62 (patch)
tree636c2ed13ff64242bf8d810efe2c1e5fd630251d
parent914314d652b3d78bceef50450a520d546e1da020 (diff)
Oops, cryptech_miniterm might work better if I remembered to install it.
-rwxr-xr-xbuild-homebrew-formula.py1
-rw-r--r--source/Makefile15
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