From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards Date: Mon, 23 Nov 2009 21:41:31 +0000 (UTC) Subject: [Buildroot] How do I configure the kernel? References: <87tywmffxl.fsf@macbook.be.48ers.dk> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 2009-11-23, Nicholas Walton wrote: >> I got a working kernel by >> >> ?0) pick the arch, board, target filesystem options, etc. >> ?1) do a "make" and build everything (including a non-working kernel) >> ?2) overwrite output/build/linux-2.6.30.2/.config with my old >> ? ?but "working" config file. >> ?3) "make ARCH=arm oldconfig" in the ?output/build/linux-2.6.30.2 >> ? ?directory >> >> That doesn't feel like the proper way to do it, but it seems to >> have worked > > That does work, but a more direct way would be to do the linux > configuration through buildroot. > > ~/buildroot % make menuconfig > ~/buildroot % make linux26-menuconfig > ~/buildroot % cp old-linux.config output/build/linux-$version/.config > ~/buildroot % make linux26-$either_config > ~/buildroot % make What is $either_config? > and finally > > ~/buildroot % make linux26-update > > to copy output/build/linux-$version/.config to > target/device/$whatever/linux-$version.config, which unlike > output/ is not .gitignore'd. OK, thanks. -- Grant Edwards grante Yow! for ARTIFICIAL at FLAVORING!! visi.com