From patchwork Tue Sep 17 05:14:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomas Paukrt X-Patchwork-Id: 1986297 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=WZBwL4Na; 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=JL3Z/60X; 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 4X792D1C7qz1y2N for ; Tue, 17 Sep 2024 15:14:44 +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=WZBwL4NanDDySD KQD789z4+ZSkkBE/dBHy4/Ssxn9jSJoEIT6EIUBITEKKg/UfQr8crVSOOER9TseOf8tKWGx93uIwJ 1Pf63R2DJLEcW+jVNVyqRhrTuFp9ecGqiuyWsLDuNdeegi4vHPa/vugHtaMlYcfIWEJWvyRyXaEbD bN6SBZZOvRU8OySIWky2A89OQQVwk3nW0RNX5fm6auE/+jUdgxwnzVqFrtfRyfZurI0VK8KuAvOkz SQsLK5frF2qoUuuiHfsky6JLdVA7szdw0CbjfrAhILH68pSFVH8JyaJ6tqMNc1I4v5qcXSoXrNfJ4 OsAxwIo6f+VC6FwDM0Ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqQXZ-00000005Npg-2YKU; Tue, 17 Sep 2024 05:14:17 +0000 Received: from mxe-1-512.seznam.cz ([2a02:598:128:8a00::1000:512]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqQXW-00000005Np2-3Ndo for hostap@lists.infradead.org; Tue, 17 Sep 2024 05:14:16 +0000 Received: from email.seznam.cz by smtpc-mxe-6b57b49b5-v6frq (smtpc-mxe-6b57b49b5-v6frq [2a02:598:128:8a00::1000:512]) id 34c3866aca3734c0344d0872; Tue, 17 Sep 2024 07:14:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=email.cz; s=szn20221014; t=1726550052; bh=3zdKpPHxo12lvAZXsA6RKvH/QIDf1o6DnARhyFga3bY=; h=Received:From:To:Subject:Date:Message-Id:Mime-Version:X-Mailer: Content-Type:Content-Transfer-Encoding; b=JL3Z/60XF8o6ZDilmGCI88Pwpoau/X21DymMmFAsLAky+bgkjx99aSywg5qIBJcx+ l1VtJG8K0pJFTzOl2Ea0k+RJYBcvvPIiMi0YUIdbJvUTGjGixKCR1Ic3BYq2nZWr7j jbmJ0A00+8N5DFZy50BWPi8xgmMDlfHbNVcNt/Qliw0lDOlYmq/y/IZzmv0zqK+ygS yqME3TS8OSciXGnkfSe/800Y3XfbssEAULRR+b7YrOu+U0inRh7U2ADgRncpg+xpWe FqE8p6Y1CpyJC/3Kp4J1vfzRpHMbzu+8OswMVgw1qwfoyYrpgqpmIUegrxPjy6WaNk egGvV/FIMkecA== 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; Tue, 17 Sep 2024 07:14:08 +0200 (CEST) From: "Tomas Paukrt" To: Subject: [PATCH] Add a top-level Makefile Date: Tue, 17 Sep 2024 07:14:08 +0200 (CEST) Message-Id: <3UC.ZcR5.5nOC1WKQTPT.1cwH0W@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-20240916_221415_001505_405087F2 X-CRM114-Status: UNSURE ( 9.68 ) 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_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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-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