diff --git a/mt7603/Makefile b/mt7603/Makefile index 57d285916..746eb6024 100644 --- a/mt7603/Makefile +++ b/mt7603/Makefile @@ -3,6 +3,8 @@ EXTRA_CFLAGS += -Werror -DCONFIG_MT76_LEDS obj-m += mt7603e.o mt7603e-y := \ - pci.o soc.o main.o init.o mcu.o \ + soc.o main.o init.o mcu.o \ core.o dma.o mac.o eeprom.o \ beacon.o debugfs.o + +mt7603e-$(CONFIG_PCI) += pci.o