From 480b0f009c0f56f0d570bb4e76d78781db5c0bda Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 21 Jun 2016 23:05:38 -0400 Subject: First cut at package builder. --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 38d1a78..d8c159d 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3