From patchwork Tue Nov 17 21:36:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Kemper X-Patchwork-Id: 1401875 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmx.net Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=3AQnSW7r; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=lUUdGi33; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CbK7p40hWz9s1l for ; Wed, 18 Nov 2020 08:38:45 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=DwjjOF5lnwBg6jGmUGZnwO1nPwgHemgM6WYtTdJpbSE=; b=3AQnSW7rvSgcjRbGixk6zOV/Fp TTutK3v5jFn2uMGK3m66ezP6kaZ5uEuu7aqpwf7ljCkbo5kV/Vr1RUtSn4DDL7PwIlGS7mZMAUd4i t3+P7phaqnh8or2/47IuBjKFy5GYpDSxbjowU+4rT/ra4e/IJQaV5uY8M+HVJYIcuzskRn0MIwyMQ a1Myj6pY4QzWhCMbq/gllRMLexhqO+KNPz2mcWikUAtrzes4nL9udEJcpHwT+q+2vrrX23e4lqHlC MIWxLcp56LOn6ujz/S6HO9HZ889Q/LyBKG1J4szBODjxLoogUatkc3idfGINmdQb72QhzaLeW4Myo eDMF8LMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kf8eV-0007gN-7D; Tue, 17 Nov 2020 21:36:39 +0000 Received: from mout.gmx.net ([212.227.15.19]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kf8eT-0007g1-5U for openwrt-devel@lists.openwrt.org; Tue, 17 Nov 2020 21:36:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605648992; bh=lBIjbAPMEDJ34CdR3tjfHhfsKbpGMI61qR9p3haJ4dI=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject; b=lUUdGi33jzJt+Hq7t2nCQCH0LpyfkRI74WP0US+JeGKXIvRG0SdIwL3wEdGp7tp2V qMbFcSzLembm6QHbZyHPhqmNfd7Yb0E/goCGN7y7AAsyh1+ogmMyomK+BunsghBGCv +8xhY3NpfwjMwSSlOadBjVmImszduAL4oGvSNP3M= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from darth.lan ([62.14.66.187]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MVNAr-1kndDD2KH9-00SPpW; Tue, 17 Nov 2020 22:36:32 +0100 Date: Tue, 17 Nov 2020 22:36:30 +0100 From: Sebastian Kemper To: openwrt-devel@lists.openwrt.org Subject: [PATCH] build: create $(PKG_SYMVERS_DIR) if non-existent Message-ID: <20201117213630.GA1281@darth.lan> Mail-Followup-To: openwrt-devel@lists.openwrt.org, nbd@nbd.name MIME-Version: 1.0 Content-Disposition: inline X-Provags-ID: V03:K1:cZQn2K7uvxO+mqvh8xQGtf8cZIUTq+9OXQdtlz7A02ayl08klyn YUtCKDon3IT6mgtw/gHTR+XC/6KKXE+nAqfEb4wn8a/aqilaj50UYp5es8deNCUmuXAw8Pa SkEB1hSz6XZ2dCg9wlVZ1cY8wAFPkpqCX9e6kewYTXizZCCPJG5e2NVE98rFj9Qf9vQcWiV 8BrX92/7RLokec0z1uM4g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FWTastmPqR0=:Xb/3IB30B+JuOP5rYpnvzf 9vFqlSo50yvqNmu6BiwfKzOX+MO/Hs0O5/Zl+/SYxVnjxI1F8OjxxtTbdWghhf+u2WNolQsPT D/e4nhOI3prad+fu4EIH9q07ptNboIk1qmwGbv5YTNlyKvtIrZH8UbbXXABkd4UjGFOZjzKtg UtVHW2hUTv88MwmMoOD1yGwTA5rzckXQ82TVpScJxKpT609dM6MEmKbodlQ1qkbT5zcw/LW+y fDmyeP7w+s9EX2jsQXho4XvQEioA6sCwD98SDu55zf5W2yYkBUrxvNdDcjJdcJMr/1W5vxmMn MmIZjN7LkvQoKLQzNmhcZuAoGh8A+nbsnmEbN5fTq4pMy3SyucarsvCPnsxleVnWMMfmkkRpP 4iFgDskdAZkqkKmd8iQNuPewS/OF0aUw3C/NPtVaiT+sMqpUy1Q/ClxBwT1tK0l6Rq2k/sUZ3 /Nb3HIC+H90migjDU2+EshNXLYVJG8bitlxMQpk9dK0Q1f3wzCHCEtQjn3PErsvJO+Fd8gRiA AZSIt6VOWW/nILJIbGqH98EqaI+xyOxCkbb11urVIwBxeZ9JTUj4sOfEo1evg7KZDUQ6LurVA YSKXhYgE1E1W525GrCiW1B8Lf1n71oCQeeFbbvhOL0nqbtIp4SiZXcFkgBpZrqhqrkRLIV0Yd roAWuNuCxhz+TRf+FOAuKOLjeu214VjqI5v9byW7uNept6PuYy3rzzT4kHCVKcnB5hyOqLZXx IILt0iwV46jsvAbw+HvpX943OAt+I6e6hRwPpoaeu1RCV4TTb5exTvcnyq74zCgzAW75iJdOp aqS7fBKHEPjG5RBaPefY5zOdEsBGwYwmjFcWb8KjwwzNXNXgvU2uetEAn31jKqL3VTuLw45nv cgDxfb52cx1dE60GQvmg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201117_163637_433572_03E6AAA3 X-CRM114-Status: GOOD ( 10.29 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [sebastian_ml[at]gmx.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.19 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.15.19 listed in wl.mailspike.net] -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_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nbd@nbd.name Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Commit 5d76065 moved the creation of the symvers directory to include/kernel-build.mk. This is fine when building from scratch. But when unpacking an SDK the directory doesn't exist and because the kernel won't be built (again) this directory will not be created by the build system, causing build failure if make tries to copy files into it. Signed-off-by: Sebastian Kemper --- include/kernel.mk | 1 + 1 file changed, 1 insertion(+) -- 2.26.2 diff --git a/include/kernel.mk b/include/kernel.mk index 1ae9c6be29..e803ff44e7 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -140,6 +140,7 @@ endif PKG_EXTMOD_SUBDIRS ?= . PKG_SYMVERS_DIR = $(KERNEL_BUILD_DIR)/symvers +$(shell mkdir -p $(PKG_SYMVERS_DIR)) define collect_module_symvers for subdir in $(PKG_EXTMOD_SUBDIRS); do \