From patchwork Mon Jan 31 20:21:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 1586970 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="key not found in DNS" header.d=embedded.rocks header.i=@embedded.rocks header.a=rsa-sha256 header.s=default header.b=AxBQxvZw; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4Jnfmj2NXNz9ryY for ; Tue, 1 Feb 2022 07:29:25 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 666A940761; Mon, 31 Jan 2022 20:29:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dK19DXGag_0W; Mon, 31 Jan 2022 20:29:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id B19E340140; Mon, 31 Jan 2022 20:29:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 7F1901BF36A for ; Mon, 31 Jan 2022 20:29:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 749C940140 for ; Mon, 31 Jan 2022 20:29:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OSbXVrEyy1ca for ; Mon, 31 Jan 2022 20:29:18 +0000 (UTC) X-Greylist: delayed 00:07:11 by SQLgrey-1.8.0 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.141]) by smtp4.osuosl.org (Postfix) with ESMTPS id 206F740135 for ; Mon, 31 Jan 2022 20:29:18 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A2A13240028 for ; Mon, 31 Jan 2022 21:22:04 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JnfcD12hzz9rxR for ; Mon, 31 Jan 2022 21:22:03 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1643660522; x=1644265323; bh=ZCe6ZakAhY2vQxbVkIuqg7NxFSCLDRiKR6KgXVMNS+Q=; b=AxBQxvZw+ccl 7w7nwCIo8skRlMw7HKzkbxwnYNpOUw/tSs4rXpc12Zd3PdSon1+6NSkOGLNSleow ERclVwgJLIlwYHjod6urBB0W0ZevbH0CubL6wN+BzAIge8DYd46ODDb31R5mA2J5 mnzRW++KTfv9zx23TYxN0YMASv7vJtEIkRPsUbHk31HiOaAIXjy87Ol0yqVJ24X6 IKxZjsfKPpcwUePstcQ0Hmod2oVml9P9pHkg95w4Z173jLxpYkcixf2oNAgdpJUD 7oVXyYeTqfn8zCYzQHB37XusHN0I8kvi8WNAQIS1sO7vACGuPnuGX8rAi/4caIqC RkGACDwj+A== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id tTgWHMtdmbHy; Mon, 31 Jan 2022 21:22:02 +0100 (CET) Received: from nzxt.fritz.box (port-92-193-221-227.dynamic.as20676.net [92.193.221.227]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Mon, 31 Jan 2022 21:22:02 +0100 (CET) From: =?utf-8?q?J=C3=B6rg_Krause?= To: buildroot@buildroot.org Date: Mon, 31 Jan 2022 20:21:51 +0000 Message-Id: <20220131202151.937124-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] linux: build after wireless-regdb if enabled for early loading support X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?J=C3=B6rg_Krause?= Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" To support building in the wireless regulatory database files (regulatory.db*) into the kernel using the CONFIG_EXTRA_FIRMWARE option, we need to ensure that the database files are installed before the Linux kernel is built. Signed-off-by: Jörg Krause --- linux/linux.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/linux.mk b/linux/linux.mk index dd2eebd446..ffe0606930 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -72,7 +72,8 @@ LINUX_MAKE_ENV = \ LINUX_INSTALL_IMAGES = YES LINUX_DEPENDENCIES = host-kmod \ $(if $(BR2_PACKAGE_INTEL_MICROCODE),intel-microcode) \ - $(if $(BR2_PACKAGE_LINUX_FIRMWARE),linux-firmware) + $(if $(BR2_PACKAGE_LINUX_FIRMWARE),linux-firmware) \ + $(if $(BR2_PACKAGE_WIRELESS_REGDB),wireless-regdb) # Starting with 4.16, the generated kconfig paser code is no longer # shipped with the kernel sources, so we need flex and bison, but