diff options
author | Rob Austein <sra@hactrn.net> | 2015-07-04 19:04:50 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-07-04 19:04:50 -0400 |
commit | df607a3ec2525988b1256f7f241470815dbc416e (patch) | |
tree | 55b1eb4c2933444a6ac4cd81413aff34fdd57dfd /Makefile | |
parent | c6d88dcb27dbd3ed42093a852c33c3a689a9b8ab (diff) |
First cut at reprepro support.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -64,6 +64,11 @@ DCH = test -f debian/changelog || \ dch --create --package cryptech-novena-$(1) --newversion '${CRYPTECH_PACKAGE_VERSION}' \ 'Version ${CRYPTECH_VERSION} of Cryptech $(2) for the Novena PVT-1 development board.' +# Where to find the reprepro repository. The "reprepro" target will +# initialize this if it doesn't exist. + +REPOSITORY := $(abspath ${HOME}/repository) + all: init sw rtl @@ -78,7 +83,14 @@ sw: rtl: cd rtl; $(call DCH,rtl,RTL bitstream) cd rtl; debuild -S -uc -us - cd rtl; debuild -b -uc -us + cd rtl; debuild -b -uc -us -aarmhf + + +reprepro: ${REPOSITORY}/conf/distributions ${REPOSITORY}/conf/options + for i in *.changes; do reprepro -b ${REPOSITORY} include $$i; done + +${REPOSITORY}/conf/distributions ${REPOSITORY}/conf/options: + install -D reprepro-conf/$(notdir $@) ${REPOSITORY}/conf/$(notdir $@) -.PHONY: all init sw rtl +.PHONY: all init sw rtl reprepro |