From 0f3cc3aa55bcc6476d721f9fbb8dfe8559d85ff7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 27 Jun 2016 16:26:25 -0400 Subject: First cut at consolidated alpha releng. Undoubtedly doesn't work yet, and still needs doc, but perhaps now ready for testing on build machine. --- firmware/Makefile | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 firmware/Makefile (limited to 'firmware/Makefile') diff --git a/firmware/Makefile b/firmware/Makefile deleted file mode 100644 index fc98e1d..0000000 --- a/firmware/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# 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 -BITSTREAM := core/platform/alpha/build/alpha_fmc.bit -BINARIES := sw/stm32/projects/bootloader/bootloader.bin sw/stm32/projects/hsm/hsm.bin -FIRMWARE := ${BITSTREAM} ${BINARIES} ${BINARIES:.bin=.elf} -RTLSOURCE := $(shell find core -name .git -prune -o -path core/platform/alpha/build -prune -o -type f -print) - -all: bitstream elves package - -bitstream: ${BITSTREAM} - -${BITSTREAM}: ${RTLSOURCE} - cd core/platform/alpha/build; ${MAKE} - -${BINARIES}: elves - -elves: - cd sw/stm32; ${MAKE} bootloader hsm - -package: ${TARBALL} - -${TARBALL}: ${FIRMWARE} - ./build-package.py $(basename $@) $^ - gzip -9f $(basename $@) - -clean: - git clean -dfx - git submodule foreach git clean -dfx - -.PHONY: all bitstream elves package clean -- cgit v1.2.3