+config BR2_PACKAGE_KMOD_DIAG
+ tristate "Router LED/Button Driver"
+ default y
+ help
+ Driver for the LEDs on Wireless Routers (diag)
+
config BR2_PACKAGE_KMOD_BRCM_WL
tristate "Broadcom Wireless Network Driver"
default y
endef
+$(eval $(call KMOD_template,DIAG,diag,\
+ $(MODULES_DIR)/kernel/drivers/net/diag/diag.o \
+))
$(eval $(call KMOD_template,BRCM_WL,brcm-wl,\
$(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
,CONFIG_WL))
--- /dev/null
+Package: kmod-diag
+Priority: essential
+Section: sys
+Maintainer: Felix Fietkau <nbd@vd-s.ath.cx>
+Source: buildroot internal
+Description: Driver for Router LEDs and Buttons
$(TARGET_MODULES_DIR):
-mkdir -p $(TARGET_MODULES_DIR)
- cp $(LINUX_DIR)/drivers/net/diag/diag.o $(TARGET_MODULES_DIR)
linux: $(LINUX_DIR)/.modules_done $(TARGET_MODULES_DIR)