How to override default Kernel config

Lei YU mine260309 at gmail.com
Wed Jul 4 12:06:45 AEST 2018


On Wed, Jul 4, 2018 at 10:03 AM Henbin Chang <henbinchang at gmail.com> wrote:
>
> Thanks Lei Yu.
>
> Actually, I want to enable CONFIG_DEVMEM in my specific machine.
> I added the below config to my machine.cfg
> CONFIG_DEVMEM=y
> CONFIG_HWMON=y
> CONFIG_SENSORS_TMP421=y
>
> But I still saw the line in the ".config" after devtool modify linux-aspeed.
> # CONFIG_DEVMEM is not set
>
> How should I do?

OK, you are using devtool. Then the simplest you can do is to reset and
modify the recipe again:

    devtool reset linux-aspeed
    # Manullay delete the linux-aspeed dir in workspace
    devtool modify linux-aspeed


More information about the openbmc mailing list