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=IcWYou9p; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 8E5635A061C for ; Tue, 21 Apr 2026 04:43:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202602; t=1776739427; bh=aDto//oJE6nJaIXQ0KDx4uHkFH92YxTp973RmAhlXVA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IcWYou9pFYwyanJdSrBw6dn5VyAwyjx0ocKn10bKsRrvpqfXPTukWjscjZRFAnHjj 08XcehTEUOAE1SgGPyUbHfW+nhQ0g8uvaWnglpwWThRFY31cUdhHaQvRViCZVr3lRo ABoejD8XLcvMlWoGri75/BJdDVlR24w2Snz1PI6fq3vjPDr+tw79hVAuZi3ZWRWv/c UHlwdh7VWSA/7MsoKAF280wU7vZ64OI2DP0jJldMBu1qMzQHOJZPdswn72hhfcEowE WPpiWuu1S6ySop/zwmAbVjcbNx+nY/vOuSYWMnq5EdYsTyhm0Zj8AYkIn2gtV4nUbW M+vMzg0VNF4dg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4g069v2qtzz4wCQ; Tue, 21 Apr 2026 12:43:47 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 05/13] Makefile: Make conditional definition of $(BIN) clearer Date: Tue, 21 Apr 2026 12:43:36 +1000 Message-ID: <20260421024344.1379633-6-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260421024344.1379633-1-david@gibson.dropbear.id.au> References: <20260421024344.1379633-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 7K4FPOSXVTHJUAIIYSDOFLMXJ66QOKMW X-Message-ID-Hash: 7K4FPOSXVTHJUAIIYSDOFLMXJ66QOKMW 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