From b7c3f27102b68d5a6b528e0f3ec56c122db12d94 Mon Sep 17 00:00:00 2001
From: Flip <philippe@pilarkto.net>
Date: Fri, 11 Nov 2016 19:07:21 +0100
Subject: [PATCH] add addition network drivers and usb support to x86-generic

---
 site.mk | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/site.mk b/site.mk
index 9af0dbe..f2b5db0 100644
--- a/site.mk
+++ b/site.mk
@@ -27,6 +27,23 @@ GLUON_SITE_PACKAGES := \
 	iwinfo \
 	ffrn-lowmem-patches \
 
+# add addition network drivers and usb support only to targes where disk space does not matter.
+ifeq ($(GLUON_TARGET),x86-generic)
+GLUON_SITE_PACKAGES += \
+        kmod-usb-core \
+        kmod-usb-ohci-pci \
+        kmod-usb2 \
+        kmod-usb-hid \
+        kmod-usb-net \
+        kmod-usb-net-asix \
+        kmod-usb-net-dm9601-ether \
+        kmod-sky2 \
+        kmod-r8169 \
+        kmod-forcedeth \
+        kmod-8139too \
+	kmod-atl2 \
+	kmod-igb
+endif
 
 DEFAULT_GLUON_RELEASE := 0.9+$(shell date '+%Y.%m.%d')-g.$(shell git -C $(GLUONDIR) log --pretty=format:'%h' -n 1)-s.$(shell git -C $(GLUONDIR)/site log --pretty=format:'%h' -n 1)
 
-- 
GitLab