From 14e109d0b91f61f910a5a919a0440468b3e15161 Mon Sep 17 00:00:00 2001 From: lean Date: Sat, 9 Jul 2022 19:37:51 +0800 Subject: [PATCH] mt76: bypass warnings being treated as errors --- package/kernel/mt76/patches/010.bypass-werror.patch | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 package/kernel/mt76/patches/010.bypass-werror.patch diff --git a/package/kernel/mt76/patches/010.bypass-werror.patch b/package/kernel/mt76/patches/010.bypass-werror.patch new file mode 100644 index 000000000..536dff9e3 --- /dev/null +++ b/package/kernel/mt76/patches/010.bypass-werror.patch @@ -0,0 +1,9 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,5 @@ + # SPDX-License-Identifier: GPL-2.0-only +-EXTRA_CFLAGS += -Werror -DCONFIG_MT76_LEDS ++EXTRA_CFLAGS += -DCONFIG_MT76_LEDS + obj-m := mt76.o + obj-$(CONFIG_MT76_USB) += mt76-usb.o + obj-$(CONFIG_MT76_SDIO) += mt76-sdio.o