然后执行./mk -t n k,会报如下错误
**** Building ****
scripts/kconfig/conf --silentoldconfig Kconfig
../mediatek/platform/mt6572/kernel/Kconfig/Drivers:263:warning: config symbol defined without type
warning: (VIDEO_VIVI && FB_VGA16 && FB_S3 && FB_VT8623 && FB_ARK && USB_SISUSBVGA_CON && MTK_FB_SUPPORT_ASSERTION_LAYER) selects FONT_8x16 which has unmet direct dependencies (HAS_IOMEM && VT && (FRAMEBUFFER_CONSOLE || SGI_NEWPORT_CONSOLE || STI_CONSOLE ||
USB_SISUSBVGA_CON))
*
* Restart config...
*
*
* USB Network Adapters
*
USB CATC NetMate-based Ethernet device support (EXPERIMENTAL) (USB_CATC) [N/m/y/?] n
USB KLSI KL5USB101-based ethernet device support (USB_KAWETH) [N/m/y/?] n
USB Pegasus/Pegasus-II based ethernet device support (USB_PEGASUS) [Y/n/m/?] y
USB RTL8150 based ethernet device support (EXPERIMENTAL) (USB_RTL8150) [N/m/y/?] n
Multi-purpose USB Networking Framework (USB_USBNET) [Y/n/m/?] y
ASIX AX88xxx Based USB 2.0 Ethernet Adapters (USB_NET_AX8817X) [Y/n/m/?] y
CDC Ethernet support (smart devices such as cable modems) (USB_NET_CDCETHER) [Y/?] y
CDC EEM support (USB_NET_CDC_EEM) [N/m/y/?] (NEW) aborted!
Console input/output is redirected. Run ‘make oldconfig‘ to update configuration.
make[5]: *** [silentoldconfig] Error 1
make[4]: *** [silentoldconfig] Error 2
make[3]: *** No rule to make target `include/config/auto.conf‘, needed by `include/config/kernel.release‘. Stop.
make[2]: *** [sub-make] Error 2
Checking memory usage DONE!
==> [OK] 2014/11/06 22:28:09
-------------------------------------------------------------------------------------------------------------------------------------------
这个错误表面,配置的一致性和完整性要求,我们必须./alps/mediatek/config/xxx_project/autoconfig/kconfig/project添加CONFIG_USB_NET_CDC_EEM=y的定义。
添加之后重新编译./mk -t n k,又报如下错误
scripts/kconfig/conf --silentoldconfig Kconfig
../mediatek/platform/mt6572/kernel/Kconfig/Drivers:263:warning: config symbol defined without type
warning: (VIDEO_VIVI && FB_VGA16 && FB_S3 && FB_VT8623 && FB_ARK && USB_SISUSBVGA_CON && MTK_FB_SUPPORT_ASSERTION_LAYER) selects FONT_8x16 which has unmet direct dependencies (HAS_IOMEM && VT && (FRAMEBUFFER_CONSOLE || SGI_NEWPORT_CONSOLE || STI_CONSOLE ||
USB_SISUSBVGA_CON))
*
* Restart config...
*
*
* USB Network Adapters
*
USB CATC NetMate-based Ethernet device support (EXPERIMENTAL) (USB_CATC) [N/m/y/?] n
USB KLSI KL5USB101-based ethernet device support (USB_KAWETH) [N/m/y/?] n
USB Pegasus/Pegasus-II based ethernet device support (USB_PEGASUS) [Y/n/m/?] y
USB RTL8150 based ethernet device support (EXPERIMENTAL) (USB_RTL8150) [N/m/y/?] n
Multi-purpose USB Networking Framework (USB_USBNET) [Y/n/m/?] y
ASIX AX88xxx Based USB 2.0 Ethernet Adapters (USB_NET_AX8817X) [Y/n/m/?] y
CDC Ethernet support (smart devices such as cable modems) (USB_NET_CDCETHER) [Y/?] y
CDC EEM support (USB_NET_CDC_EEM) [Y/n/m/?] y
CDC NCM support (USB_NET_CDC_NCM) [Y/n/m/?] y
Davicom DM9601 based USB 1.1 10/100 ethernet devices (USB_NET_DM9601) [N/m/y/?] (NEW) aborted!
Console input/output is redirected. Run ‘make oldconfig‘ to update configuration.