All of lore.kernel.org
 help / color / mirror / Atom feed
From: Derek Cheugn <rcheng881@student.glendale.edu>
To: linux-config@vger.kernel.org
Subject: what's the fast way to enable a config item?
Date: Thu, 24 Dec 2015 17:30:40 -0800	[thread overview]
Message-ID: <20151225013040.GA21467@ubuntu-gnome> (raw)

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,

             reply	other threads:[~2015-12-25  1:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-25  1:30 Derek Cheugn [this message]
2016-01-05 10:27 ` what's the fast way to enable a config item? Marian Marinov
2016-01-05 21:06   ` Derek Cheugn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151225013040.GA21467@ubuntu-gnome \
    --to=rcheng881@student.glendale.edu \
    --cc=linux-config@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.