kernel 编译错误 修改贴

1:Console input/output is redirected. Run 'make oldconfig' to update configuration.

在kernel 配置文件中缺失了 CONFIG_MTK_MT6628_FM  项。


编译 kernel log:
**** Cleaning ****
[: 1: mediatek/custom/out/ztenj77_sz_cu_ics2/kernel/usb/: unexpected operator
clean mediatek kernel source tree
find /home/disk2/luguang/p820/org/p820_77/kernel/../mediatek/config/out/ztenj77_sz_cu_ics2/autoconfig -name kconfig -type f -print | xargs rm -f
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config include/generated
  CLEAN   .config
**** Configuring / ..//mediatek/config/out/ztenj77_sz_cu_ics2/autoconfig/kconfig / ****
[COPY] /home/disk2/luguang/p820/org/p820_77/kernel/../mediatek/config/out/ztenj77_sz_cu_ics2/autoconfig/kconfig --> mediatek-configs
[COPY] /home/disk2/luguang/p820/org/p820_77/kernel/../mediatek/config/out/ztenj77_sz_cu_ics2/autoconfig/kconfig --> .config
  HOSTCC  scripts/basic/fixdep
  GEN     /home/disk2/luguang/p820/org/p820_77/kernel/out/Makefile
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
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...
*
*
* Drivers Configurations
*
MediaTek Accessory Detection Support (MTK_ACCDET) [Y/n] y
Bluetooth network device (for DUN/PAN) (MTK_BT_NET_DEV) [Y/n/?] y
MediaTek CCMNI driver (MTK_NET_CCMNI) [Y/n] y
MediaTek NFC driver (MTK_NFC) [N/m/y] n
MediaTek Connectivity Combo Chip Support (MTK_COMBO) [M/n/y] m
  MediaTek Combo Chip BT Support (MTK_COMBO_BT) [M/n] m
  MediaTek Combo Chip GPS Support (MTK_COMBO_GPS) [M/n] m
  MediaTek Combo Chip FM Support (MTK_COMBO_FM) [M/n] m
  MediaTek combo chip Wi-Fi support (MTK_COMBO_WIFI) [M/n] m
MediaTek AR1000 Chip FM Support (MTK_AR1000_FM) [N/m/y] n
MediaTek MT6616 Chip FM Support (MTK_MT6616_FM) [N/m/y] n
MediaTek MT6620 Chip FM Support (MTK_MT6620_FM) [N/m/y] n
MediaTek MT6626 Chip FM Support (MTK_MT6626_FM) [N/m/y] n
MediaTek MT6628 Chip FM Support (MTK_MT6628_FM) [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]: *** [sub-make] Error 2
**** Building ****
  GEN     /home/disk2/luguang/p820/org/p820_77/kernel/out/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
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...
*
*
* Drivers Configurations
*
MediaTek Accessory Detection Support (MTK_ACCDET) [Y/n] y
Bluetooth network device (for DUN/PAN) (MTK_BT_NET_DEV) [Y/n/?] y
MediaTek CCMNI driver (MTK_NET_CCMNI) [Y/n] y
MediaTek NFC driver (MTK_NFC) [N/m/y] n
MediaTek Connectivity Combo Chip Support (MTK_COMBO) [M/n/y] m
  MediaTek Combo Chip BT Support (MTK_COMBO_BT) [M/n] m
  MediaTek Combo Chip GPS Support (MTK_COMBO_GPS) [M/n] m
  MediaTek Combo Chip FM Support (MTK_COMBO_FM) [M/n] m
  MediaTek combo chip Wi-Fi support (MTK_COMBO_WIFI) [M/n] m
MediaTek AR1000 Chip FM Support (MTK_AR1000_FM) [N/m/y] n
MediaTek MT6616 Chip FM Support (MTK_MT6616_FM) [N/m/y] n
MediaTek MT6620 Chip FM Support (MTK_MT6620_FM) [N/m/y] n
MediaTek MT6626 Chip FM Support (MTK_MT6626_FM) [N/m/y] n
MediaTek MT6628 Chip FM Support (MTK_MT6628_FM) [N/m/y] (NEW) aborted!
Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[6]: *** [silentoldconfig] Error 1
make[5]: *** [silentoldconfig] Error 2
make[4]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.
make[3]: *** [sub-make] Error 2

解决办法:

CONFIG_MTK_MT6628_FM=m 加一句这个


你可能感兴趣的:(linux)