[LEDE-DEV] [PATCH 1/2] brcm47xx: specify DEVICE_PACKAGES for Netgear WGT634U

Rafał Miłecki zajec5 at gmail.com
Wed Dec 28 14:25:30 PST 2016


From: Rafał Miłecki <rafal at milecki.pl>

This allows using it nicely with PER_DEVICE_ROOTFS.

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
Cc: Russell Senior <russell at personaltelco.net>
---
 target/linux/brcm47xx/image/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile
index 2b8142a..e8860a5 100644
--- a/target/linux/brcm47xx/image/Makefile
+++ b/target/linux/brcm47xx/image/Makefile
@@ -7,6 +7,8 @@
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/image.mk
 
+USB2_PACKAGES := kmod-usb2
+
 define Build/Clean
 	$(MAKE) -C lzma-loader clean
 endef
@@ -448,6 +450,7 @@ TARGET_DEVICES += netgear-wgr614-v8
 
 define Device/netgear-wgt634u
   DEVICE_TITLE := Netgear WGT634U
+  DEVICE_PACKAGES := kmod-ath5k $(USB2_PACKAGES)
   FILESYSTEMS := $(FS_128K)
   IMAGES := bin
   IMAGE/bin := append-rootfs | trx-with-loader | prepend-with-elf
-- 
2.10.1




More information about the Lede-dev mailing list