[Cryptech-Commits] [user/sra/novena-releng] 01/01: Automatic loading of the bitstream would probably work better if we installed the script that does it.

git at cryptech.is git at cryptech.is
Mon Jul 6 12:52:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository user/sra/novena-releng.

commit a32f7d12dd55bee3541d17e3a5467853cd4162e8
Author: Rob Austein <sra at hactrn.net>
Date:   Mon Jul 6 08:50:27 2015 -0400

    Automatic loading of the bitstream would probably work better if we
    installed the script that does it.
---
 Makefile    | 6 +++++-
 sw/Makefile | 7 ++++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 79a85da..863766a 100644
--- a/Makefile
+++ b/Makefile
@@ -97,4 +97,8 @@ reprepro: ${REPOSITORY}/conf/distributions ${REPOSITORY}/conf/options
 ${REPOSITORY}/conf/distributions ${REPOSITORY}/conf/options:
 	install -D reprepro-conf/$(notdir $@) ${REPOSITORY}/conf/$(notdir $@)
 
-.PHONY: all init sw rtl reprepro
+clean:
+	git clean -dfx
+	git submodule foreach 'git clean -dfx'
+
+.PHONY: all init sw rtl reprepro clean
diff --git a/sw/Makefile b/sw/Makefile
index 090855d..da59b70 100644
--- a/sw/Makefile
+++ b/sw/Makefile
@@ -45,6 +45,7 @@ clean distclean:
 	for d in libtfm libhal sqlite3 pkcs11; do (cd $$d && ${MAKE} $@); done
 
 install: all
-	install -D pkcs11/libpkcs11.so		${DESTDIR}/usr/lib/libpkcs11.so
-	install -D pkcs11/p11util		${DESTDIR}/usr/sbin/p11util
-	install -D libhal/utils/eim_peek_poke	${DESTDIR}/usr/sbin/eim_peek_poke
+	install -m 644 -D pkcs11/libpkcs11.so		${DESTDIR}/usr/lib/libpkcs11.so
+	install -D pkcs11/p11util			${DESTDIR}/usr/sbin/p11util
+	install -D libhal/utils/eim_peek_poke		${DESTDIR}/usr/sbin/eim_peek_poke
+	install -D libhal/utils/load_novena_fpga	${DESTDIR}/usr/sbin/load_novena_fpga



More information about the Commits mailing list