blob: 1b96cea0cdebc36fc6b20ddaa87c740e21f40e23 [file] [log] [blame]
developerd737ed32021-08-23 23:39:49 +08001--- a/package/kernel/mt76/Makefile
2+++ b/package/kernel/mt76/Makefile
3@@ -250,6 +250,11 @@ ifdef CONFIG_PACKAGE_MAC80211_MESH
4 NOSTDINC_FLAGS += -DCONFIG_MAC80211_MESH
5 endif
6
7+ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
8+ NOSTDINC_FLAGS += -DCONFIG_MAC80211_DEBUGFS
9+ PKG_MAKE_FLAGS += CONFIG_MAC80211_DEBUGFS=y
10+endif
11+
12 ifdef CONFIG_PACKAGE_CFG80211_TESTMODE
13 NOSTDINC_FLAGS += -DCONFIG_NL80211_TESTMODE
14 PKG_MAKE_FLAGS += CONFIG_NL80211_TESTMODE=y
15@@ -402,9 +407,9 @@ endef
16 define KernelPackage/mt7915e/install
17 $(INSTALL_DIR) $(1)/lib/firmware/mediatek
18 cp \
19- $(PKG_BUILD_DIR)/firmware/mt7915_wa.bin \
20- $(PKG_BUILD_DIR)/firmware/mt7915_wm.bin \
21- $(PKG_BUILD_DIR)/firmware/mt7915_rom_patch.bin \
22+ ./files/firmware/mt7915_wa.bin \
23+ ./files/firmware/mt7915_wm.bin \
24+ ./files/firmware/mt7915_rom_patch.bin \
25 $(1)/lib/firmware/mediatek
26 endef
27
28--
292.29.2
30