From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sat, 15 Feb 2020 19:20:20 +0100 Subject: [Buildroot] [PATCH 2/2] linux: use correct conditional for wireguard kernel config fixup In-Reply-To: <20200215182020.20862-1-peter@korsgaard.com> References: <20200215182020.20862-1-peter@korsgaard.com> Message-ID: <20200215182020.20862-2-peter@korsgaard.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Commit de591c5c3a93 (package/wireguard-linux-compat: new package) split up the wireguard package in wireguard-tools and wireguard-linux-compat, but forgot to update the conditional in linux.mk, so the kernel config fixups needed for wireguard are no longer applied. Update the conditional to use the BR2_PACKAGE_WIREGUARD_LINUX_COMPAT symbol instead. Signed-off-by: Peter Korsgaard --- linux/linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/linux.mk b/linux/linux.mk index bf308b807a..4b60f33ff3 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -392,7 +392,7 @@ define LINUX_KCONFIG_FIXUP_CMDS $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK_MARK,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_NF_NAT,$(@D)/.config)) - $(if $(BR2_PACKAGE_WIREGUARD), + $(if $(BR2_PACKAGE_WIREGUARD_LINUX_COMPAT), $(call KCONFIG_ENABLE_OPT,CONFIG_INET,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_NET,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_NET_FOU,$(@D)/.config) -- 2.20.1