mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
14 lines
339 B
Diff
14 lines
339 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -32,7 +32,9 @@ ccflags-y += -I$(CURDIR) \
|
|
-I$(KBUILDPATH)/include/asm \
|
|
-I$(KBUILDPATH)/net/bridge
|
|
|
|
-ccflags-$(CONFIG_SUPPORT_MLD) += -DMC_SUPPORT_MLD
|
|
+ifeq ($(strip ${MC_SUPPORT_MLD}),1)
|
|
+ccflags-y+=-DMC_SUPPORT_MLD
|
|
+endif
|
|
|
|
# Module extra compilation flags
|
|
ccflags-y += -Werror -Wall -g
|