blob: fc6b4476ba5d2eb1963c97c56665148cfe599993 [file] [log] [blame]
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -272,6 +272,11 @@ ifdef CONFIG_PACKAGE_MAC80211_MESH
NOSTDINC_FLAGS += -DCONFIG_MAC80211_MESH
endif
+ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
+ NOSTDINC_FLAGS += -DCONFIG_MAC80211_DEBUGFS
+ PKG_MAKE_FLAGS += CONFIG_MAC80211_DEBUGFS=y
+endif
+
ifdef CONFIG_PACKAGE_CFG80211_TESTMODE
NOSTDINC_FLAGS += -DCONFIG_NL80211_TESTMODE
PKG_MAKE_FLAGS += CONFIG_NL80211_TESTMODE=y
@@ -435,6 +440,12 @@ define KernelPackage/mt7915e/install
$(PKG_BUILD_DIR)/firmware/mt7915_wa.bin \
$(PKG_BUILD_DIR)/firmware/mt7915_wm.bin \
$(PKG_BUILD_DIR)/firmware/mt7915_rom_patch.bin \
+ $(PKG_BUILD_DIR)/firmware/mt7916_wa.bin \
+ $(PKG_BUILD_DIR)/firmware/mt7916_wm.bin \
+ $(PKG_BUILD_DIR)/firmware/mt7916_rom_patch.bin \
+ $(1)/lib/firmware/mediatek
+ cp \
+ $(PKG_BUILD_DIR)/firmware/mt7916_eeprom.bin \
$(1)/lib/firmware/mediatek
endef
--
2.29.2