From mboxrd@z Thu Jan 1 00:00:00 1970 From: Derek Cheugn Subject: what's the fast way to enable a config item? Date: Thu, 24 Dec 2015 17:30:40 -0800 Message-ID: <20151225013040.GA21467@ubuntu-gnome> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=student-glendale-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=qno2+GX9rvE2wPp2Mk8tulgaqFj20c1AqaqyYPZjqJA=; b=Ds6Fugx2Iq0AItYZf/kwIjnOhObB2NOC6uiSby3g7f9m6IKpg0uAyy/3cuIHWHZTjt P7BwxSuJLKG/iBDXBqUUcriWnplv9yrsHO0ZS4p+6bXUA2ZAMvtlzY8+Y7w6OMbHhQvn qiG9s3P8aFigXLCKjA2/31Sjr2987XV2bAv3pTGLsMn3Abj7CXxK6EDI0sAGVpxA3MB3 tj6bjgT76mF6b4NIb/lUoOoCtN6fPPAtD165G0OMj7Hq4U6//LowDJIK3MIssDspneJZ ruHTTPDVIxOjvCJx41YrBC95k1qz7UMEe9edGMTXhUPGi4WOsrjBctGbczCezUxd1vwq P8xQ== Content-Disposition: inline Sender: linux-config-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-config@vger.kernel.org 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,