diff --git a/Makefile b/Makefile index 0a91c0e..1843d32 100644 --- a/Makefile +++ b/Makefile @@ -295,6 +295,7 @@ linux_modules: linux.intermediate echo "$(DATE) Installing $$mod"; \ cp -a "$(build)/$(linux_dir)/$$mod" initrd/lib/modules; \ done + $(CROSS)strip --strip-debug initrd/lib/modules/*.ko diff --git a/config/linux.config b/config/linux.config index d99264d..94457ab 100644 --- a/config/linux.config +++ b/config/linux.config @@ -1608,14 +1608,14 @@ CONFIG_USB_DEFAULT_PERSIST=y # USB Host Controller Drivers # # CONFIG_USB_C67X00_HCD is not set -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_PCI=y -CONFIG_USB_XHCI_PLATFORM=y -CONFIG_USB_EHCI_HCD=y +CONFIG_USB_XHCI_HCD=m +CONFIG_USB_XHCI_PCI=m +CONFIG_USB_XHCI_PLATFORM=m +CONFIG_USB_EHCI_HCD=m # CONFIG_USB_EHCI_ROOT_HUB_TT is not set CONFIG_USB_EHCI_TT_NEWSCHED=y -CONFIG_USB_EHCI_PCI=y -CONFIG_USB_EHCI_HCD_PLATFORM=y +CONFIG_USB_EHCI_PCI=m +CONFIG_USB_EHCI_HCD_PLATFORM=m # CONFIG_USB_OXU210HP_HCD is not set # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_ISP1362_HCD is not set diff --git a/modules/linux b/modules/linux index 5f8af06..e94b1f7 100644 --- a/modules/linux +++ b/modules/linux @@ -20,7 +20,12 @@ linux_config := linux.config linux_modules := \ drivers/net/ethernet/intel/e1000/e1000.ko \ drivers/net/ethernet/intel/e1000e/e1000e.ko \ - + drivers/usb/host/xhci-hcd.ko \ + drivers/usb/host/ehci-platform.ko \ + drivers/usb/host/ehci-hcd.ko \ + drivers/usb/host/xhci-plat-hcd.ko \ + drivers/usb/host/xhci-pci.ko \ + drivers/usb/host/ehci-pci.ko \ EXTRA_FLAGS := -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches