From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 3AC5DE041; Sun, 08 Sep 2024 14:48:19 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id A6B0EE039; Sun, 08 Sep 2024 14:48:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DMARC_MISSING, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh5-smtp.messagingengine.com (fhigh5-smtp.messagingengine.com [103.168.172.156]) by atuin.qyliss.net (Postfix) with ESMTPS id 154D6E0A4 for ; Sun, 08 Sep 2024 14:48:13 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id D4BB41140168 for ; Sun, 8 Sep 2024 10:48:11 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Sun, 08 Sep 2024 10:48:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1725806891; x=1725893291; bh=EWEehtURngqDDufSHcgso +9+wT5+Z6d7IFTRKaHacEQ=; b=lIntNuma37YRG3ZO2vrLIhfw3sdz9c+2cW6rr aZZijR1S3L7JooAvtzrZOyxK8zERLmuiXXv6Rgo9xueJ4jalW8N3wPPlpZ1jkOpt VQfIBYjuWbT+PVgllkydXR9LcQmWiSvqoMar7aEJew3Q/Jt+woCknarKQhz4X7MT loJ1PnhSJ7g4ILugwWhd5cOS/u3m0Wd6ou3NOvghHBFwGfgmylVXHuT4dF1wbhOl lN5ls1abdq2dLEYa4RSiUiUcfPBdio1Lf1GJ4e8U2HuXjBS7V1XcJ9YemHcF+Q6A n0cFumo4CmQgM1WELY+/bPCP2ADQCcNcaEg5rF/cg28G7nfDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1725806891; x=1725893291; bh=EWEehtURngqDDufSHcgso+9+wT5+ Z6d7IFTRKaHacEQ=; b=uDZpcg1ByTYk+fq9uzAOf4sgCB64SAIRkw22/FKt5DcZ qerC5pjRjf0PN8JrfiEvnZejsHGYtNwte+sdxiLDNjYB3izyCFgI7pllr8jQMCEL vC3oEXPskqMSoAL59zN/o4nM1psbXDqLCUttjIl/QZB/tndDbcy1GeCMcNkKNcBn yLWW1VMC/EqTWFij0JuoPWiPa8k9vX2hpyQvVx1Z5LEyeK17O9Vsc2/3QYHCPFsp M6tuHWHiWC9VmZ6U1XjV53dmRG4EUaA0O80dIDEaBXIuhJFnHws4Qk7c/Gl9e5pY Zb1rLdodTrqhFsTwkfoSV+E3mlTHsrUBJ8CNJGkHWw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeihedgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuff fkofgggfestdekredtredttdenucfhrhhomheptehlhihsshgrucftohhsshcuoehhihes rghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepfeeujeekueffvdfgfeetueelje dtvdduiefgvdfhhfffffekgeeifedvkedufeeknecuffhomhgrihhnpehophgvnhhgrhho uhhprdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhephhhisegrlhihshhsrgdrihhspdhnsggprhgtphhtthhopedupdhmohguvgepshhm thhpohhuthdprhgtphhtthhopeguvghvvghlsehsphgvtghtrhhumhdqohhsrdhorhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 8 Sep 2024 10:48:11 -0400 (EDT) Received: by sf.qyliss.net (Postfix, from userid 1000) id 6D16420446012; Sun, 08 Sep 2024 16:48:10 +0200 (CEST) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH] lib/common.mk: move .POSIX out Date: Sun, 8 Sep 2024 16:47:49 +0200 Message-ID: <20240908144749.842619-1-hi@alyssa.is> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: DHP2NDUTJNQD66UMWQFVUA64UKLYO4JX X-Message-ID-Hash: DHP2NDUTJNQD66UMWQFVUA64UKLYO4JX X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The standard says the following, so I don't think it's specified that it's allowed to be in an include file: > If it appears as the first non-comment line in the makefile, make > shall process the makefile as specified by this section; otherwise, > the behavior of make is unspecified. Link: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/make.html#tag_20_76_13_04 Fixes: c3fbeca ("lib/common.mk: init") Signed-off-by: Alyssa Ross --- host/initramfs/Makefile | 2 ++ host/rootfs/Makefile | 2 ++ img/app/Makefile | 2 ++ lib/common.mk | 2 -- release/live/Makefile | 2 ++ vm/sys/net/Makefile | 2 ++ 6 files changed, 10 insertions(+), 2 deletions(-) diff --git a/host/initramfs/Makefile b/host/initramfs/Makefile index 06f69b3..8382296 100644 --- a/host/initramfs/Makefile +++ b/host/initramfs/Makefile @@ -1,6 +1,8 @@ # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2021-2023 Alyssa Ross +.POSIX: + include ../../lib/common.mk dest = build/initramfs diff --git a/host/rootfs/Makefile b/host/rootfs/Makefile index f4fb7a4..2f4445d 100644 --- a/host/rootfs/Makefile +++ b/host/rootfs/Makefile @@ -1,6 +1,8 @@ # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2021-2024 Alyssa Ross +.POSIX: + include ../../lib/common.mk dest = build/rootfs.erofs diff --git a/img/app/Makefile b/img/app/Makefile index 3adf8c4..79dd22e 100644 --- a/img/app/Makefile +++ b/img/app/Makefile @@ -2,6 +2,8 @@ # SPDX-FileCopyrightText: 2021-2024 Alyssa Ross # SPDX-FileCopyrightText: 2022 Unikie +.POSIX: + include ../../lib/common.mk prefix = build/host diff --git a/lib/common.mk b/lib/common.mk index 8f11ecc..7733878 100644 --- a/lib/common.mk +++ b/lib/common.mk @@ -1,8 +1,6 @@ # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2021, 2023 Alyssa Ross -.POSIX: - # qemu-kvm is non-standard, but is present in at least Fedora and # Nixpkgs. If you don't have qemu-kvm, you'll need to set e.g. # QEMU_KVM = qemu-system-x86_64 -enable-kvm. diff --git a/release/live/Makefile b/release/live/Makefile index f45870d..a8c81c3 100644 --- a/release/live/Makefile +++ b/release/live/Makefile @@ -1,6 +1,8 @@ # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2021-2023 Alyssa Ross +.POSIX: + include ../../lib/common.mk dest = build/live.img diff --git a/vm/sys/net/Makefile b/vm/sys/net/Makefile index 00757db..2c2f084 100644 --- a/vm/sys/net/Makefile +++ b/vm/sys/net/Makefile @@ -1,6 +1,8 @@ # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2021-2024 Alyssa Ross +.POSIX: + include ../../../lib/common.mk prefix = build/svc base-commit: 0f5cfe23285d31c3f7ea1d0fbca967fa8bae8d59 -- 2.45.2