How to override default Kernel config

Henbin Chang henbinchang at gmail.com
Wed Jul 4 12:03:39 AEST 2018


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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180704/e5a029fc/attachment.html>


More information about the openbmc mailing list