Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Automate build/compile environment in DSL-N, Script menuconfig?< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: April 19 2007,04:40 QUOTE

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
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 19 2007,12:50 QUOTE

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)?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: April 23 2007,10:08 QUOTE

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

Thanks
Back to top
Profile PM 
2 replies since April 19 2007,04:40 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Automate build/compile environment in DSL-N

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code