mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-19 10:23:03 +00:00
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
From 4d6ac08737143a59ee84d9864773471c33267faf Mon Sep 17 00:00:00 2001
|
|
From: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
|
|
Date: Wed, 4 Oct 2023 22:04:58 +0530
|
|
Subject: [PATCH] net: disable Werror for drivers/net and net/ directories
|
|
|
|
Change-Id: Ie998245b974a648b9944e9b5a5f6cb491801e1e8
|
|
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
|
|
---
|
|
drivers/net/Makefile | 1 +
|
|
net/Makefile | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
|
|
index 6ce076462dbf..caf0a6b7f97f 100644
|
|
--- a/drivers/net/Makefile
|
|
+++ b/drivers/net/Makefile
|
|
@@ -6,6 +6,7 @@
|
|
#
|
|
# Networking Core Drivers
|
|
#
|
|
+KBUILD_CFLAGS := $(filter-out -Werror, $(KBUILD_CFLAGS))
|
|
obj-$(CONFIG_BONDING) += bonding/
|
|
obj-$(CONFIG_IPVLAN) += ipvlan/
|
|
obj-$(CONFIG_IPVTAP) += ipvlan/
|
|
diff --git a/net/Makefile b/net/Makefile
|
|
index 57ddb1744ea3..1ae605f20203 100644
|
|
--- a/net/Makefile
|
|
+++ b/net/Makefile
|
|
@@ -6,6 +6,7 @@
|
|
# Rewritten to use lists instead of if-statements.
|
|
#
|
|
|
|
+KBUILD_CFLAGS := $(filter-out -Werror, $(KBUILD_CFLAGS))
|
|
obj-y := devres.o socket.o core/
|
|
|
|
obj-$(CONFIG_COMPAT) += compat.o
|
|
--
|
|
2.34.1
|
|
|