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?

Thanks.

2018-07-04 9:39 GMT+08:00 Lei YU <mine260309@gmail.com>:
> I would like to enable a specific Kernel config in my machine.
> I don't want to modify the 'defconfig'
>
> Could anyone tell me how to do?

Please refer to machine-layer recipes, e.g. meta-romulus' linux recipe:
https://github.com/openbmc/openbmc/tree/master/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-kernel/linux