内核编译错误

内核编译错误

几年后,我回到 ubuntu 20.04 并尝试编译 android 内核,但奇怪的是终端给出了一些奇怪的错误,例如

drivers/sensorhub/brcm/bbdpl/Kconfig:18:warning: ignoring unsupported character '
drivers/sensorhub/brcm/bbdpl/Kconfig:19:warning: ignoring unsupported character '
drivers/sensorhub/brcm/bbdpl/Kconfig:20:warning: ignoring unsupported character '
drivers/sensorhub/brcm/bbdpl/Kconfig:21:warning: ignoring unsupported character '
drivers/sensorhub/brcm/bbdpl/Kconfig:21:warning: ignoring unsupported character '
drivers/sensorhub/brcm/bbdpl/Kconfig:24:warning: ignoring unsupported character '
drivers/sensorhub/brcm/bbdpl/Kconfig:24:warning: ignoring unsupported character '
drivers/sensorhub/brcm/bbdpl/Kconfig:24:warning: ignoring unsupported character '
drivers/sensorhub/brcm/bbdpl/Kconfig:24:warning: ignoring unsupported character '
drivers/sensorhub/brcm/bbdpl/Kconfig:24:warning: ignoring unsupported character '

该文件看起来像这样;

choice
    depends on SENSORS_SSP_BBD
    prompt "Choose serial connection with chip"
    default BCM_GPS_SPI_DRIVER

config BCM_GPS_TTY_DRIVER
    bool  "TTY"
    depends on TTY
    help
        Support for BRCM GPS UART driver.

config BCM_GPS_I2C_DRIVER
    bool "I2C"
    depends on I2C
    help
        Support for BRCM GPS I2C driver.

config BCM_GPS_SPI_DRIVER
    bool "SPI"
    depends on SPI
    help
        Support for BRCM GPS SPI driver.

endchoice

我觉得这是由 ubuntu 引起的。有什么建议吗?

谢谢

相关内容