Re: what's the fast way to enable a config item?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You simply need to enable it in your .config file and rebuild.

Marian

On 12/25/2015 03:30 AM, Derek Cheugn wrote:
> hi all,
>
> I have a simple question (have searched but didn't get any good answer
> yet):
>
> what's the best way to enable a config item without interactive
> interface? if I know the module name, I can find the CONFIG_ name by
> this: then in menuconfig to search SENSORS_APPLESMC to enable it;
>
>     $ find -name Makefile |xargs grep -w applesmc
>     ./drivers/hwmon/Makefile:obj-$(CONFIG_SENSORS_APPLESMC)	+= applesmc.o
>
> but is there a good way to enable it without interactive interface?
>
> the interactive config interfaces (menuconfig/gconfig/xconfig) are good
> for one or two configs, but when I want to enable a list of modules,
> this solution is not scalable;
>
> I've tried localmodconfig with LSMOD= env variable, but the
> localmodconfig doesn't seem to be working in this way, I feel it's
> working by an elimination way, to start from a known to be working
> config (maybe from a distro or somewhere)
>
>     $ LSMOD=~/tmp/modules-merged make localmodconfig
>
> while, I want to start with `make defconfig` and enable a list of config
> needed; that to accept a list of CONFIG_* names, or a list of modules
> name, does anyone if such a config method exists?
>
>
> thanks,
> --
> To unsubscribe from this list: send the line "unsubscribe linux-config" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-config" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Audio]     [Linux Console]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Fedora Users]

  Powered by Linux