From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id 1294C5A005E for ; Thu, 17 Nov 2022 13:26:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668687980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fM7lCkXwpdTvVtEK+WxzKC3ZhRETF/BE0lzwhbjegdU=; b=gtir+kIuNLU4BzwnPGgiYXz6w01un2owX5l3WehHmyK4c34wCGlMoUNSBXhqPC2ncLYLv+ egDuCYN/8uSJK6ExjuxGAcwQerDHtwKvxdP2xWy/sHuw6/Is+jEjYuf50UWSaLc6vVgZvw 9F+alWuR2SQ5uh8UGwL5wyNmEZJkxUY= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-368-Pzf5heKDOzObqIR9w7-egQ-1; Thu, 17 Nov 2022 07:26:19 -0500 X-MC-Unique: Pzf5heKDOzObqIR9w7-egQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 469D3185A78B for ; Thu, 17 Nov 2022 12:26:19 +0000 (UTC) Received: from pick.home.annexia.org (unknown [10.39.193.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id C8148C2C7D9; Thu, 17 Nov 2022 12:26:18 +0000 (UTC) From: "Richard W.M. Jones" To: sbrivio@redhat.com Subject: [PATCH passt 1/5] build: Force-create pasta symlink Date: Thu, 17 Nov 2022 12:26:10 +0000 Message-Id: <20221117122614.1269214-2-rjones@redhat.com> In-Reply-To: <20221117122614.1269214-1-rjones@redhat.com> References: <20221117122614.1269214-1-rjones@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-MailFrom: rjones@redhat.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: NEBKFX6HOUMN24TH6LOVWUAN2ODVGZU7 X-Message-ID-Hash: NEBKFX6HOUMN24TH6LOVWUAN2ODVGZU7 X-Mailman-Approved-At: Thu, 17 Nov 2022 13:28:25 +0100 CC: passt-dev@passt.top X-Mailman-Version: 3.3.3 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: If you run the build several times it will fail unnecessarily with: ln -s passt pasta ln: failed to create symbolic link 'pasta': File exists make: *** [Makefile:134: pasta] Error 1 Signed-off-by: Richard W.M. Jones --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b22408..c13a818 100644 --- a/Makefile +++ b/Makefile @@ -131,7 +131,7 @@ passt.avx2: $(PASST_SRCS) $(HEADERS) passt.avx2: passt pasta.avx2 pasta.1 pasta: pasta%: passt% - ln -s $< $@ + ln -sf $< $@ qrap: $(QRAP_SRCS) passt.h $(CC) $(FLAGS) $(CFLAGS) $(QRAP_SRCS) -o qrap $(LDFLAGS) -- 2.37.0.rc2