aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-06-22 13:05:26 -0400
committerRob Austein <sra@hactrn.net>2016-06-22 13:05:26 -0400
commit1f4cb928a0ac606167d7df6f0435e9ad0ef95b30 (patch)
tree69bb635084daff5c4bae234dc1b7335a12a63084 /Makefile
parentd0d8f2b2a61b16496f3dfa7debb995f8e9e55064 (diff)
Simplify, particularly gpg handling; store a bit more repository info in the JSON metadata.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 2b01f9d..c6654e0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,16 @@
# 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:
@@ -10,14 +20,6 @@ bitstream:
elves:
cd sw/stm32; ${MAKE} bootloader hsm
-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
-
package: bitstream elves ${TARBALL}
${TARBALL}: ${FIRMWARE}