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=j5TgcK9l; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id EBEF25A0653 for ; Tue, 21 Apr 2026 05:23:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202602; t=1776741822; bh=aDto//oJE6nJaIXQ0KDx4uHkFH92YxTp973RmAhlXVA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j5TgcK9lg8uxFY66U0giVDu6naRxdLRotb43q6X94PDQ5Dawlka6tZLO2BIwtFaUk 6IinMMgYfv8zQDjV1oWkp25E0wjHNcDwK6rcgyNakTzyCTiRiaxHXHWEgnn3o63MC2 6b9CIofWxifB1u0ig2KWDHAo3IZy6qJBhVRR9l//1buy9/FWG/WvLg2J13tlNiag29 x/6gmJNPGplx/lpDijZAN3dnuT9nh6Trhby6XJwKDSKg1rNzOL0mYoBrapgla5j2CF VqYm4o4bslD822n+C8/YyWoQKI8VcU81LHkpaEvpPbpFahfP1EIOSiE/18PYx+katx 3DGOprwzz1NDg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4g073y51Bpz4wCX; Tue, 21 Apr 2026 13:23:42 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v2 05/13] Makefile: Make conditional definition of $(BIN) clearer Date: Tue, 21 Apr 2026 13:23:30 +1000 Message-ID: <20260421032338.1909084-6-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260421032338.1909084-1-david@gibson.dropbear.id.au> References: <20260421032338.1909084-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: NYBGCRR27JFTDYXWBHPM5F6LHUNXUZ62 X-Message-ID-Hash: NYBGCRR27JFTDYXWBHPM5F6LHUNXUZ62 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 addes the passt.avx2 and pasta.avx2 binaries. Make this more clear 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 1e5f0282..a2576771 100644 --- a/Makefile +++ b/Makefile @@ -77,10 +77,9 @@ docdir ?= $(datarootdir)/doc/passt mandir ?= $(datarootdir)/man man1dir ?= $(mandir)/man1 +BIN = passt pasta qrap passt-repair ifeq ($(TARGET_ARCH),x86_64) -BIN := passt passt.avx2 pasta pasta.avx2 qrap passt-repair -else -BIN := passt pasta qrap passt-repair +BIN += passt.avx2 pasta.avx2 endif all: $(BIN) $(MANPAGES) docs -- 2.53.0