mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 01:38:56 +00:00
make USB a module, strip debug info (issue #139)
This commit is contained in:
parent
453029bde1
commit
59bae0bf51
1
Makefile
1
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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user