aboutsummaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Collapse)Author
2017-04-14First cut at a setup.py for our Python code.Rob Austein
2017-04-14Doh, works better if one remembers to push all submodule commits first.Rob Austein
2017-04-14Drag sev
# Source package makefile for Cryptech Alpha board software.
#
# This is, deliberately, a very simplified Makefile.  for the most
# part we just want to do the bare minimum needed for whatever
# software packaging system we use to work.  At least for the moment,
# 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.

all:
	${MAKE} -C sw/pkcs11

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/libcryptech-pkcs11.so		${DESTDIR}/usr/lib/libcryptech-pkcs11.so
	ln	-s	            libcryptech-pkcs11.so		${DESTDIR}/usr/lib/libcryptech-pkcs11.so.0
	python setup.py install --install-layout=deb --root=${DESTDIR}
32 changes.Rob Austein 2016-07-12Move executables from $prefix/sbin to $prefix/bin.Rob Austein 2016-07-12Drag in new pkcs11 informational functions.Rob Austein 2016-07-09Drag in sw/stm32 changes.Rob Austein 2016-07-08Drag in updated cryptech_upload script.Rob Austein 2016-07-08Enable software hash cores on HSM.Rob Austein 2016-07-08Drag in sw/pkcs11 bugfix.Rob Austein 2016-07-07Oops, cryptech_miniterm might work better if I remembered to install it.Rob Austein 2016-07-07Drag in more stm32 and libhal changes.Rob Austein 2016-07-07Drag in sw/pkcs11 configuration change disabling RPC daemon.Rob Austein 2016-07-07Don't try to install the RPC daemon we're not building this week.Rob Austein 2016-07-07Drag in various bugfixes.Rob Austein 2016-07-07Drag in libhal environment variable changes.Rob Austein 2016-07-06Drag in libhal and stm32 updates.Rob Austein 2016-07-05Add python-serial to runtime dependencies.Rob Austein 2016-07-05Add cryptech_probe script to installation.Rob Austein 2016-07-04Drag in updates to user/ln5/tamper.Rob Austein 2016-07-02Drag in MacOSX support.Rob Austein 2016-07-01Drag in libhal Makefile fix.Rob Austein 2016-06-30Drag in RPC wire format changes.Rob Austein 2016-06-29Drag in submodule updates.Rob Austein 2016-06-29Add tamper.hex to firmware tarball; start adding support scripts; more minor ↵Rob Austein build process cleanup. 2016-06-28Drag in today's submodule updates.Rob Austein 2016-06-27Mostly working. A few scripts still missing from binary packages, and no ↵Rob Austein Homebrew yet. 2016-06-27First cut at consolidated alpha releng.Rob Austein Undoubtedly doesn't work yet, and still needs doc, but perhaps now ready for testing on build machine.