LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded
User Name
Password
Linux - Embedded This forum is for the discussion of Linux and embedded devices.

Notices

Reply
 
LinkBack Search this Thread
Old 05-13-2009, 12:29 PM   #1
thelonesquirrely
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
scripting buildroot setup


Hello,

I am working to script the extraction and build of buildroot from its release tarball.

I am hungup on getting around the menu driven configuration.

So far what I am doing is
untarring the .tar.bz2,
copying in the config file (to buildroot/local/<project>/<project>.config)
trying to run 'make getconfiguration BOARD=<project>'.

When i do this i get the lines:
Makefile:231: .config.cmd: No such file or directory
make: *** No rule to make target `.config.cmd'. Stop.

If i open the menu (make menuconfig or make config) it will generate a basic .config.cmd and then I can quit, and do a the 'make get...' line.

I've tried to do a cp of the files that are different at the top level (.config and .config.cmd) and then just insert those after the untar, but to no avail. Any ideas on how I can get the configuration to load my configuration without user interaction?
 
Old 05-13-2009, 03:58 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,185

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
You might look into use of "expect". This is a tool that you can use to wait for specific input then respond with a specific answer. It is often used for this kind of interactive thing. You may need to install expect first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors while configuring buildroot package. ravi_chobey Linux - Software 1 04-02-2009 07:22 PM
Buildroot www_linux Linux - Newbie 4 01-21-2009 10:33 PM
What do I do with a buildroot disk image? wbuik Linux - Software 1 01-16-2009 11:15 PM
OpenEmbedded or BuildRoot ? i_PingGuo Linux - Embedded 0 01-07-2009 09:44 AM
uclibc buildroot failed to compile tcma Linux - Software 0 10-06-2004 12:01 AM


All times are GMT -5. The time now is 12:58 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration