From a32f7d12dd55bee3541d17e3a5467853cd4162e8 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 6 Jul 2015 08:50:27 -0400 Subject: 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 -- cgit v1.2.3