From 73f5aa59d7bd4ff3b1b794c94b734727572c5986 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 4 Dec 2018 15:12:43 -0500 Subject: Collapse build targets into one rule, because that's exactly what $@ is designed for. --- build/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build/Makefile b/build/Makefile index 22fd1f4..2fc9fe0 100644 --- a/build/Makefile +++ b/build/Makefile @@ -36,14 +36,10 @@ core_selector.v core_vfiles.mk: # Build some different configurations -bare trng hash mkmif rsa hsm hsm-super: +bare trng hash mkmif rsa hsm hsm-super keywrap: $(CONFIG_GEN) -p $@ $(MAKE) project=$(project)_$@ ucf=$(ucf) -keywrap: - $(CONFIG_GEN) -p keywrap - $(MAKE) project=$(project)_keywrap ucf=$(ucf) - # Verilog files that always go with builds on this platform. vfiles = \ -- cgit v1.2.3