linux: compile sunxi-emac into kernel for cubieboard

The network driver needs to be compiled into the kernel for booting from
network over NFS.
This commit is contained in:
Jonathan Liu 2014-02-05 09:09:26 +11:00
parent 217e80e133
commit e6cd6c0ff6
2 changed files with 1 additions and 5 deletions

View File

@ -17,10 +17,6 @@ SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_EXTRA_RRECOMMENDS += "\ MACHINE_EXTRA_RRECOMMENDS += "\
kernel-module-sw-ahci-platform \ kernel-module-sw-ahci-platform \
kernel-module-sunxi-emac \
" "
#autoload ethernet module at boot
module_autoload_sunxi_emac = "sunxi_emac"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa" MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -123,7 +123,7 @@ CONFIG_SATA_AHCI_PLATFORM=y
CONFIG_SW_SATA_AHCI_PLATFORM=m CONFIG_SW_SATA_AHCI_PLATFORM=m
CONFIG_NETDEVICES=y CONFIG_NETDEVICES=y
CONFIG_TUN=m CONFIG_TUN=m
CONFIG_SUNXI_EMAC=m CONFIG_SUNXI_EMAC=y
CONFIG_PHYLIB=y CONFIG_PHYLIB=y
CONFIG_USB_KAWETH=m CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m CONFIG_USB_PEGASUS=m