diff options
author | Rob Austein <sra@hactrn.net> | 2016-06-21 23:05:38 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-06-21 23:05:38 -0400 |
commit | 480b0f009c0f56f0d570bb4e76d78781db5c0bda (patch) | |
tree | 0132aec2f942dbdb004ba71b6df02970891ede9f /Makefile | |
parent | d630816f9bbb6e1aec4d6fa583ca7ca5045c4f18 (diff) |
First cut at package builder.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -2,7 +2,7 @@ # basic build sequence before we start messing with packaging scripts, # version numbers, and other forms of entertainment. Expect changes. -all: bitstream elves +all: bitstream elves package bitstream: cd core/platform/alpha/build; ${MAKE} @@ -10,6 +10,16 @@ bitstream: elves: cd sw/stm32; ${MAKE} bootloader hsm +PACKAGE_FILES = sw/stm32/projects/bootloader/bootloader.bin \ + sw/stm32/projects/bootloader/bootloader.elf \ + sw/stm32/projects/hsm/hsm.bin \ + sw/stm32/projects/hsm/hsm.elf \ + core/platform/alpha/build/alpha_fmc.bit + +package: bitstream elves + python build-package.py package.tar ${PACKAGE_FILES} + gzip -9f package.tar + clean: git clean -dfx git submodule foreach git clean -dfx |