make USB a module, strip debug info (issue #139)

This commit is contained in:
Trammell Hudson 2017-03-28 17:05:04 -04:00
parent 6f3e923a37
commit 418ceaf733
No known key found for this signature in database
GPG Key ID: C7CFA251FF608213
3 changed files with 13 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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