blob: c6654e0acc3bc7a3d5f6c3f77fc11629ea716e91 (
plain) (
tree)
|
|
# 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.
export GNUPGHOME := /home/aptbot/gnupg
TARBALL := package.tar.gz
FIRMWARE := 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
all: bitstream elves package
bitstream:
cd core/platform/alpha/build; ${MAKE}
elves:
cd sw/stm32; ${MAKE} bootloader hsm
package: bitstream elves ${TARBALL}
${TARBALL}: ${FIRMWARE}
./build-package.py $(basename $@) $^
gzip -9f $(basename $@)
clean:
git clean -dfx
git submodule foreach git clean -dfx
.PHONY: bitstream elves package clean
|