mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: fix LED support (copy CFLAGS from main Makefile)
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
EXTRA_CFLAGS += -Werror -DCONFIG_MT76_LEDS
|
||||
|
||||
CHECK_CC_ENUM_FLAGS = $(NOSTDINC_FLAGS) $(LINUXINCLUDE) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS)
|
||||
check-cc-enum = $(call try-run, echo "int v = $(1);" | $(CC) -Werror $(CHECK_CC_ENUM_FLAGS) $(2) -c -x c - -o "$$TMP",y,n)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user