From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202602 header.b=OlLVnG8e; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id F06B55A0262 for ; Tue, 12 May 2026 07:53:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202602; t=1778565179; bh=oLpnVLaacroBtblEEf+fbbxXM71z0q+sw24EixCmPb8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OlLVnG8eB0xLHnzIwYIREFqFgeahew9FHjDO7YTrWfG6k0DDAXgqc1RpVTlXpUtUQ PQIDMC7npMuhR61e7YsYd3LvAy8hNBdwDuzHo6kYiN2Jk3SG6SCOSKXhUQfqqe92IY Zo1ODhVHSqO5AzmfueRCqbzfKpwtuqNBHHiwyxLsC0fuuSUHzpy2SgZKkPG2iCJd+D Zls9a6Zo/37NdhRFA0cbX6TcUsgFGLGOuvMYxk5o1t0dCqI64kEjSaZnMXItVAgMN5 e5CMThN/7NZtIJQvsPeDG+XF+ViqDNNXw74JPxEYnVj+RXiwOzo1tVAlG7nHvVSq5a VYrSp/bIHTfFw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4gF5NW0nNHz4wHf; Tue, 12 May 2026 15:52:59 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v3 02/12] Makefile: Make conditional definition of $(BIN) clearer Date: Tue, 12 May 2026 15:52:46 +1000 Message-ID: <20260512055256.1800449-3-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260512055256.1800449-1-david@gibson.dropbear.id.au> References: <20260512055256.1800449-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: VZQ4YF7L32GFJX57EBXX3H33PFYJUC46 X-Message-ID-Hash: VZQ4YF7L32GFJX57EBXX3H33PFYJUC46 X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 48c5fb62..d489a862 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 -- 2.54.0