aboutsummaryrefslogtreecommitdiff
path: root/source/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'source/Makefile')
-rw-r--r--source/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/source/Makefile b/source/Makefile
index af018b1..5095766 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -6,6 +6,8 @@
# the primary packaging system is Debian-based, so this is written
# to work in that environment.
#
+# See setup.py for installation of the Python-related bits.
+#
# We also support Homebrew for MacOSX, using the source tarball
# generated by the Debian packaging process, but the Homebrew formula
# handles the build and installation for that environment.
@@ -20,10 +22,4 @@ 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/libcryptech-pkcs11.so ${DESTDIR}/usr/lib/libcryptech-pkcs11.so
ln -s libcryptech-pkcs11.so ${DESTDIR}/usr/lib/libcryptech-pkcs11.so.0
-# install -D sw/pkcs11/p11util ${DESTDIR}/usr/bin/p11util
-# install -D sw/pkcs11/libhal/cryptech_rpcd ${DESTDIR}/usr/bin/cryptech_rpcd
- install -D sw/stm32/projects/hsm/cryptech_upload ${DESTDIR}/usr/bin/cryptech_upload
- install -D sw/stm32/projects/hsm/cryptech_probe ${DESTDIR}/usr/bin/cryptech_probe
- install -D sw/stm32/projects/hsm/cryptech_miniterm ${DESTDIR}/usr/bin/cryptech_miniterm
-
-# Still need scripts to do something useful with the firmware tarball
+ python setup.py install --install-layout=deb --root=${DESTDIR}