aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-07-06 08:50:27 -0400
committerRob Austein <sra@hactrn.net>2015-07-06 08:50:27 -0400
commita32f7d12dd55bee3541d17e3a5467853cd4162e8 (patch)
tree9c4dfa0b0c3eaf8cf2dad88fcbcfcc5db8253e0b
parent422992ed7e625366cea76a93d4318079d4dd99bf (diff)
Automatic loading of the bitstream would probably work better if we
installed the script that does it.
-rw-r--r--Makefile6
-rw-r--r--sw/Makefile7
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