Automate build/compile environment in DSL-N

Forum: DSL-N
Topic: Automate build/compile environment in DSL-N
started by: Juanito

Posted by Juanito on April 19 2007,04:40
I've been working on a build/compile environment in DSL-N to enable me to compile applications and modules away from an Internet connection.

Basically, I have a simple script to install a set of deb packages I downloaded previously and (if needed) a second script to install and prepare the full kernel sources.

It's not a big deal, but rather than having to manually execute the following actions, is it possible to use a script to achieve the same thing?

Code Sample
# make menuconfig
<select menu item "load alternative configuration">
<load knoppix .config file>
<select "exit">
<select "save alternative configuration">
# make modules_prepare

Posted by ^thehatsrule^ on April 19 2007,12:50
Instead of using make menuconfig where it requires user interaction, why not overwrite defconfig and use make oldconfig (or whatever the equivalent is on 2.6.x)?
Posted by Juanito on April 23 2007,10:08
You were right, this did the trick:
Code Sample
cp -f /usr/src/linux-2.6.12/.config /usr/src/linux-2.6.12/arch/i386/defconfig
cd /usr/src/linux-2.6.12
make oldconfig
make modules_prepare


Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.