From patchwork Sun Sep 15 10:40:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomas Paukrt X-Patchwork-Id: 1988449 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=WWyPF0EX; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=email.cz header.i=@email.cz header.a=rsa-sha256 header.s=szn20221014 header.b=sf/Llxdw; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XBxxD3Gd1z1xsN for ; Mon, 23 Sep 2024 19:08:32 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=R19uuqDEczdfBC2GWpWXZcdngmAst7vACF2arPur7UU=; b=WWyPF0EXJk1zeF IwShge4MDweMbgupzhD4vJ2plmaJOqeI7BUjSGNouErks79Nmm9MchRPpGcFan4ufA0Q3OZ69RlaW 3aLhLYPJib7+Rne8GGhYObBYBuv+ufBY80dxe2DX7A69OXC0h0OMFD6/QQ1s5Vf3BLaT7rjXJawyr ctNaDLm3qthiQxU9WVJxzcibFTXhemETulDlltniWnLsN17zlxXX7z8IuDQS+FBk2OqCi4Ssw/IzU a6NlKjdxvZxLAmBIsrqbni4cEBmWCnUKoVOXtU0PtQEnjoDe/8B3Fdz1IU0ukn3GRsr2E2r5Y2C// Ynp0D/9q82nfmWkmEiMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1ssf30-0000000GleR-1p3P; Mon, 23 Sep 2024 09:07:58 +0000 Received: from mxe-2-aed.seznam.cz ([2a02:598:64:8a00::1000:aed]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1spmg2-00000001yb5-3ZwN for hostap@lists.infradead.org; Sun, 15 Sep 2024 10:40:24 +0000 Received: from email.seznam.cz by smtpc-mxe-7bdd9d48f6-vf57s (smtpc-mxe-7bdd9d48f6-vf57s [2a02:598:64:8a00::1000:aed]) id 6e3006a290c4b4086ebe88ba; Sun, 15 Sep 2024 12:40:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=email.cz; s=szn20221014; t=1726396820; bh=3zdKpPHxo12lvAZXsA6RKvH/QIDf1o6DnARhyFga3bY=; h=Received:From:To:Subject:Date:Message-Id:Mime-Version:X-Mailer: Content-Type:Content-Transfer-Encoding; b=sf/LlxdwMyfo+hXBEMLVI7OZksSTd4ixlC2sVHBYLyTaFjrh562aSytaqQJdccSDa rmKHEmE3AkzWbraynqlmzohYH7eI6LviVMOY8ns2r6IM5RUTjEmVD1ZdLOPX/H5EyE Lcqnf8TkUOBKjthYvZ/n4kF/RUuOelJH/qWKQM/rwbVR6hs5qS58chfvN57e62i+Ph Vh73sPPryYt15Ysu2PJlDaPPxLEVkmsoamacn6Pkm5tdHl4tnhftDRj7MMKHL/qW6+ 4A9wtl6Znzqf/ZXpAhtg5I9upcmWh72guhRtIpWOnktsMtf9PQDW/GYJ4C6Vac7wi4 UBALfuAruxYqA== Received: from 184-143.ktuo.cz (184-143.ktuo.cz [82.144.143.184]) by email.seznam.cz (szn-ebox-5.0.189) with HTTP; Sun, 15 Sep 2024 12:40:18 +0200 (CEST) From: "Tomas Paukrt" To: Subject: [PATCH] Add a top-level Makefile Date: Sun, 15 Sep 2024 12:40:18 +0200 (CEST) Message-Id: <2Mp.ZcZb.1qjoMbLyqoP.1cvhcI@seznam.cz> Mime-Version: 1.0 (szn-mime-2.1.61) X-Mailer: szn-ebox-5.0.189 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240915_034023_066150_939F95F7 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Add a top-level Makefile to make cross-compilation easier under various build systems. Signed-off-by: Tomas Paukrt --- Makefile | 10 ++++++++++ build_release | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 Makefile Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [tomaspaukrt(at)email.cz] X-Mailman-Approved-At: Mon, 23 Sep 2024 02:07:57 -0700 X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Add a top-level Makefile to make cross-compilation easier under various build systems. Signed-off-by: Tomas Paukrt --- Makefile | 10 ++++++++++ build_release | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c4b1498 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +SUBDIRS=$(wildcard hostapd) $(wildcard wpa_supplicant) + +all: + for dir in $(SUBDIRS); do $(MAKE) -C $$dir; done + +clean distclean: + for dir in $(SUBDIRS); do $(MAKE) -C $$dir clean; done + +install: + for dir in $(SUBDIRS); do $(MAKE) -C $$dir install; done diff --git a/build_release b/build_release index 3aa9bf3..bb7f15d 100755 --- a/build_release +++ b/build_release @@ -30,13 +30,13 @@ mkdir $TMP mkdir -p $RELDIR git archive --format=tar --prefix=wpa-$VER/ HEAD \ - README COPYING CONTRIBUTIONS src wpa_supplicant hostapd hs20 | + README COPYING CONTRIBUTIONS Makefile src wpa_supplicant hostapd hs20 | gzip > $RELDIR/wpa-$VER.tar.gz git archive --format=tar --prefix=hostapd-$VER/ HEAD \ - README COPYING CONTRIBUTIONS src hostapd | + README COPYING CONTRIBUTIONS Makefile src hostapd | gzip > $RELDIR/hostapd-$VER.tar.gz git archive --format=tar --prefix=wpa_supplicant-$VER/ HEAD \ - README COPYING CONTRIBUTIONS src wpa_supplicant hs20/client | + README COPYING CONTRIBUTIONS Makefile src wpa_supplicant hs20/client | tar --directory=$TMP -xf - cd $TMP