blob: d8c159d864f40a82e2614a82a1da2a120df7581d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Preliminary makefile for releng/alpha/firmware, just to test the
# basic build sequence before we start messing with packaging scripts,
# version numbers, and other forms of entertainment. Expect changes.
all: bitstream elves package
bitstream:
cd core/platform/alpha/build; ${MAKE}
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
.PHONY: bitstream elves clean
|