aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-05-12 15:52:46 +1000
committerStefano Brivio <sbrivio@redhat.com>2026-05-16 15:45:35 +0200
commit59b14b294a0b27edc4408cca1b2b81e9ded8d50d (patch)
treec1cccb64a8caff791388cb5602351b1e596f9b04
parent1cd627648f439b4964e428a2cedf680fac5ca54b (diff)
downloadpasst-59b14b294a0b27edc4408cca1b2b81e9ded8d50d.tar
passt-59b14b294a0b27edc4408cca1b2b81e9ded8d50d.tar.gz
passt-59b14b294a0b27edc4408cca1b2b81e9ded8d50d.tar.bz2
passt-59b14b294a0b27edc4408cca1b2b81e9ded8d50d.tar.lz
passt-59b14b294a0b27edc4408cca1b2b81e9ded8d50d.tar.xz
passt-59b14b294a0b27edc4408cca1b2b81e9ded8d50d.tar.zst
passt-59b14b294a0b27edc4408cca1b2b81e9ded8d50d.zip
Makefile: Make conditional definition of $(BIN) clearer
The list of binaries is dependent on the target architecture, because x86_64 adds the passt.avx2 and pasta.avx2 binaries. Make this more obvious by defining BIN in common, then augmenting it in the x86_64 case. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 48c5fb6..d489a86 100644
--- a/Makefile
+++ b/Makefile
@@ -76,10 +76,9 @@ docdir ?= $(datarootdir)/doc/passt
mandir ?= $(datarootdir)/man
man1dir ?= $(mandir)/man1
-ifeq ($(TARGET_ARCH),x86_64)
-BIN := passt passt.avx2 pasta pasta.avx2 qrap passt-repair pesto
-else
BIN := passt pasta qrap passt-repair pesto
+ifeq ($(TARGET_ARCH),x86_64)
+BIN += passt.avx2 pasta.avx2
endif
all: $(BIN) $(MANPAGES) docs