blob: 1b96cea0cdebc36fc6b20ddaa87c740e21f40e23 [file] [log] [blame]
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -250,6 +250,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
@@ -402,9 +407,9 @@ endef
define KernelPackage/mt7915e/install
$(INSTALL_DIR) $(1)/lib/firmware/mediatek
cp \
- $(PKG_BUILD_DIR)/firmware/mt7915_wa.bin \
- $(PKG_BUILD_DIR)/firmware/mt7915_wm.bin \
- $(PKG_BUILD_DIR)/firmware/mt7915_rom_patch.bin \
+ ./files/firmware/mt7915_wa.bin \
+ ./files/firmware/mt7915_wm.bin \
+ ./files/firmware/mt7915_rom_patch.bin \
$(1)/lib/firmware/mediatek
endef
--
2.29.2